If I select elements to enable jQuery plugins like
$(".clickaway").clickaway();
Can I somehow get the selector .clickaway
that was used in the plugin?
If I select elements to enable jQuery plugins like
$(".clickaway").clickaway();
Can I somehow get the selector .clickaway
that was used in the plugin?
I'm sure you would have noticed it digging into the object using Firebug, but just the .selector property of the jQuery object.
try:
$(".clickaway").clickaway().end()....
is that what you mean?