开发者

jQuery Plugin: Can I get the selector that was used to select elements

If I select elements to enable jQ开发者_开发百科uery 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?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜