How to get the object name of "this" in either javascript or/and jquery? -
i'm reading else plugin code gain better understanding because of poor documentation. i'm seeing lot of "this" objects , need know name of object refers "this" object? i'm not sure if "this" object in jquery or javascriopt..... hope value question because have no starting point code in obtaining "this" object name.. not knowing if "this" object created literal object or constructor object
you can use following:
this.nodename this.tagname
or
$(this).prop("tagname") $(this).prop("nodename")
Comments
Post a Comment