Jquery插件封装---奇怪的代码

1.

("tbody>tr:odd",this).addClass(options.odd);

 

其实等同于

$(this).find("tbody>tr:odd").addClass(options.odd);

 

posted @ 2017-03-21 21:59  胜军Harold  阅读(138)  评论(0编辑  收藏  举报

欢迎来到李胜军的个人博客