开发者

how to make jQuery plugin return the wrapped set?

how can we make the jQuery plugnin to return the wrapped set?so that using the plugin does not make the code loo开发者_如何学运维se the chaining property.


Add

return this;

To the end of your function.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜