更新时间:2023-01-02 07:46:42
如果你想等到每个动画完成在执行下一步之前,请使用文档中详细介绍的动画回调:
If you want to wait until each animation completes before doing the next step, use the animation callbacks detailed in the documentation:
$('#bar').click(function () {
$('#foo p').hide('slow', function(){
$(this).appendTo('#bar').show('slow');
});
});