摘要: 一:什么是定时器 (一)无限循环定时器 <script> window.onload = function(){ function test(){ alert("test") } // 无限循环的执行函数test,间隔时间为2秒 setInterval(test,2000); } </script> 阅读全文
posted @ 2019-12-21 20:04 张京墨 阅读(396) 评论(0) 推荐(0) 编辑