html - get jquery plugin targeted object DOM -
to honest i'm not sure how technically ask current need, i'll try show using pseudo code.
i'm building jquery plugin , need return 'targeted element's dom' - this:
plugin usage:
$('div.targeted-dom-element').myplugin();
and inside plugin want return/reuse somewhere 'div.targeted-dom-element' string (not object please!) - there jquery/js built-in function such thing?
edit: property deprecated, matt pointing out.
jquery objects has selector
property can like
myjqueryobj.selector