Javascript定时器
时间:2014-08-29 15:56:48
收藏:0
阅读:148
setTimeout("function",time) 设置一个超时对象
setInterval("function",time) 设置一个超时对象 SetInterval为自动重复
setTimeout不会重复。 clearTimeout(对象) 清除已设置的setTimeout对象 clearInterval(对象) 清除已设置的setInterval对象
评论(0)