在javascritp中,有两个关于定时器的专用函数,分别为:
1.倒计定时器:timename=setTimeout("function();",delaytime);2.循环定时器:timename=setInterval("function();",delaytime);
更多参考鸣谢:http://www.jb51.net/article/45215.htm
posted on 2017-08-18 17:11 ckx0709 阅读(135) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 ckx0709 Powered by .NET 9.0 on Kubernetes