window.setInterval('abc()',3000);即浏览器第隔3称秒都会执行一次abc函数。 window.setTimeOut(function(){ alert("这是一个弹框"); },1000); //过一秒弹框