這裏是我們的代碼:兩個jQuery延遲消息?
<script type="text/javascript">
$(document).ready(function() {
$('a#installfc').click(function(e){
e.preventDefault();
window.open("http://www.site.com/ads/tr.php?src=source",'_parent');
$(this).html("Opening Download Link.. Please wait").delay(3000).html("Please run the installer after downloading");
});
});
</script>
基本上,我們希望消息顯示,然後3秒後它變成另一條消息。
我在做什麼錯?
〜jquery noob。
我認爲延遲隻影響動畫隊列,它不是阻塞呼叫。 – Lazarus