我无法让以下工作,完全打破页面......如果我拿出回调函数它会工作......不知道我做错了什么......
$(document).ready(function() {
var easing = 'easeOutBounce';
$('#cont').click(function() {
$('#cont').animate({width: '400px'}, {duration:1000, easing: easing, complete:function(){ $(this).html("Animation Completed");});
$('#conttwo').animate({width: '100px'}, {duration:1000, easing: easing});
$('#contthree').animate({width: '100px'}, {duration:1000, easing: easing});
});