张秋桥:
里面有个用户评论很好,一行程序完成常见的“显示选中的,隐藏其他的”,反映了jQuery。
[阅读: 365] 2009-02-15 02:46:16
Tim Leach
Feb 11, 2009 at 12:47 PM // reply »
1 Comments
9 Points
Very well done. I've been in love with jQuery since I started looking into it.
I would have to say so far my favorite feature would be the ability to do this:
function show(i){
$('ul.li').eq(i).show().siblings().hide();
}
after I learned how to use it, the ".siblings()" function really rocked my world.