定时执行js是支持的。用var B = setInterval(function(){},time);第一个表示需要执行的函数,第二个表示多少秒执行一次。停止是clearInterval(B);
setTimeout\setInterval, 时间到服务器去取~