$(this).fadeOut().remove();如何在完全fadeOut()之后再remove(),这样写会在没完成fadeOut动作就直接remove掉了
1 回答

蛊毒传说
TA贡献1895条经验 获得超3个赞
$(this).fadeOut(function(){ $(this).remove(); }) $(selector).fadeOut(speed,callback)
callback 是fadeOut 函数执行完之后,要执行的函数
添加回答
举报
0/150
提交
取消