可能重複:
jQuery: Can I call delay() between addClass() and such?jQuery的延遲不工作
你好,我有一個問題。
下面的jQuery代碼是不是爲我工作..
$("#message").addClass("highlightError").delay(15000).removeClass("highlightError");
有什麼錯誤?
中甚至沒有added..I Firebug的檢查得到的類別,顯示沒有錯誤..
請幫
謝謝!|
http://stackoverflow.com/questions/2510115/jquery-can-i-call -delay-addclass和 - 這樣之間- –