jQuery 效果 - animate() 方法 改变DIV的高度 $(".btn1").click(function(){ $("#box").animate({height:"300px"}); }); 语法 $(selector).animate(styles,speed,easing,callback) 同时也可以调用一个方法 $("#box").animate({height:"400px"},function(){ alert("123")});