之前虽然很多人写过了setinterval函数的用法,但其实那些都是受到帮助文档的影响,并非真正的用法,那么我们先来看看字典中的用法
setinterval(functionname:function,interval:number[,param1:object,param2, ...,paramn]): number
functionname a function name or a reference to an anonymous function. interval the time in milliseconds between calls to the functionname parameter.
param1, param2, ..., paramn optional parameters passed to the function or methodname parameter.
clearinterval() to cancel the interval. 大家都看到了这个函数的说明了吗?
Java Asp PHP .Net XML C/C++ CGI VB Jsp J2ee J2se J2me EJB Servlet Tomcat Resin Struts Weblogic Eclipse ANT GUI JMS Web servise IDEA Webphere Hibernate Spring Jboss Applet Swing Socket Javamail Perl Ajax P2P 安全 模式 框架 测试 开源 游戏
Windows XP Windows 2000 Windows 2003 Windows Me Windows 9.x Linux UNIX 注册表 操作系统 服务器 应用服务器