jQuery笔记$("2")——jQuery事件和动画
2.1事件编写
$(function(){ $("#panel h5.head").toggle(function(){ $(this).next("div.content").slideUp(); },function(){ $(this).next("div.content").slideDown(); })})
发布时间: 2012-11-03 10:57:44 作者: rapoo
jQuery笔记$("2")——jQuery事件和动画
2.1事件编写
$(function(){ $("#panel h5.head").toggle(function(){ $(this).next("div.content").slideUp(); },function(){ $(this).next("div.content").slideDown(); })})