get jquery plugin targeted object DOM
to be honest I'm not sure how to technically ask about my current need, so
I'll try show it using some pseudo code.
I'm building a jQuery plugin and I need to return 'targeted element's DOM'
- something like this:
plugin usage:
$('div.targeted-dom-element').myPlugin();
and inside my plugin I want to return/reuse somewhere this
'div.targeted-dom-element' string (not object please!) - is there any
jquery/js built-in function for such thing?
No comments:
Post a Comment