贵有恒.
s = setInterval(function(){ //需要执行的函数 alert("我延迟了2秒弹出"); },2000);
并不是每2秒执行一次,而是延迟2秒执行
posted on 2015-12-24 16:46 叫我小洋 阅读(142) 评论(0) 编辑 收藏 举报