setTimeOut和setInterval

来源:互联网 发布:创建淘宝店铺 编辑:程序博客网 时间:2024/06/04 23:18
window.setInterval('abc()',3000);即浏览器第隔3称秒都会执行一次abc函数。
window.setTimeOut(function(){
alert("这是一个弹框");
},1000);     //过一秒弹框
0 0