Being a Noob at Jquery, I’ll ask a noob question.
How do you get the selector of a plugin call inside the plugin?
For example:
$('.greatClassName').greatPlugin();
From greatPlugin(), how can I get '.greatClassName'?
Thanks in advance for your help.
I believe you can access it through
this.selector;Example: