I'm trying to create a plugin but I can not get selector
, and it was still removed from version 1.9.
If I use $(this).selector
in the plugin, it returns a string #div #elementoA, #div #elementoB
. I've already tried to use this.each
to try to pick individually, but I could not.
I need a form that returns either an array, or an object, but with the individual selectors: '[#div #elementoA] [#div #elementoB]
. Is it possible using 1.9?
$('#div #elementoA, #div #elementoB').plugin()