jsp定时方法

jsp定时方法

 $(function(){
totaladd(); //定时时触发的函数
setInterval(totaladd,3000);//设置定时1000=1秒
});

function totaladd(){
alert(12);
}
原文地址:https://www.cnblogs.com/wangxue420/p/6268300.html