1、倒计时定时器
timename=setTimeout("function()",delaytime);
clearTimeout(timename);
2、循环定时器
timename=setInterval("function()",delaytime);
clearTimeout(timename);
2023-01-04 21:35:48
1、倒计时定时器
timename=setTimeout("function()",delaytime);
clearTimeout(timename);
2、循环定时器
timename=setInterval("function()",delaytime);
clearTimeout(timename);
下一篇:Shell脚本了解