Toggle Comment 1 2条回答 星月不相逢 (楼主) 2021-02-20 07:52 its even simpler, I think, when you clean up your html as well a little bit: (avoid br) http://jsfiddle.net/ESM4m/27/ toggle Comment1 toggle Comment2 $(function(){ $('.toggle').click(function() { $(this).next().slideToggle(); return false; }); }); 0 讨论(0) 查看其它2个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
its even simpler, I think, when you clean up your html as well a little bit: (avoid br)
http://jsfiddle.net/ESM4m/27/
toggle Comment1 toggle Comment2 $(function(){ $('.toggle').click(function() { $(this).next().slideToggle(); return false; }); });
toggle