这里是我们的代码:两个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