更新时间:2023-12-03 10:42:46
您的函数既不是可链接的也不是jQuery动画,这是delay()
唯一起作用的内容(更精确地说,.fx队列中的所有内容),尝试这样的事情:
Your function is neither chainable nor a jQuery animation, which is the only thing delay()
works on (anything in the .fx queue to be more precise), try something like this :
success: function(data){
changeImage( "http://site.com/syncD.png" );
setTimeout(function() {
changeImage( "http://site.com/sync.png" );
}, 500);
}