阅读背景:

jQuery - 如何在使用clearInterval将其终止后重新启动setInterval?

来源:互联网 

I want to create a page with 2 buttons, 'STAY' and 'Leave'. There is an iFrame underneath the buttons. When the page loads for the first time, the iFrame starts refreshing automatically after 10 secs. When the user hits STAY button, it will stop refreshing. After that if he hits LEAVE button the iFrame will again start refreshing after 10 secs. I'm using this code:I want to create a page with 2 buttons, 'STAY'




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: