When calling a custom plugin, how can I get the current selector string?
$(\'my_selector p\').my_plugin();
Would like to output my_se
my_se
You can use selector property:
$('my_selector p').selector // my_selector p
version deprecated: 1.7, removed: 1.9
1.7
1.9