jqueryjavascript alert popup on a set time - Stack Overflow

Do you know if there exists any Jquery plugin that displays an alert popup message every period of time

Do you know if there exists any Jquery plugin that displays an alert popup message every period of time, or one in a set period of time? For instance: your time expires in x minutes, the timeout being given.

Thank you!

Do you know if there exists any Jquery plugin that displays an alert popup message every period of time, or one in a set period of time? For instance: your time expires in x minutes, the timeout being given.

Thank you!

Share Improve this question asked Apr 13, 2011 at 20:51 danadana 5,22821 gold badges76 silver badges118 bronze badges
Add a ment  | 

2 Answers 2

Reset to default 3

Why plugin when there is a native window.setInterval javascript function?

window.setInterval(function() {
    // this will execute every 5 minutes => show the alert here
}, 300000);

Of course you could use a plugin to do sexier notifications rather than a boring alert.

You could try jQuery.Timeout, it should do what you need!

$.timeout(5000).done(function() { 
    alert("5 seconds later..."); 
});

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744726849a4590232.html

相关推荐

  • jqueryjavascript alert popup on a set time - Stack Overflow

    Do you know if there exists any Jquery plugin that displays an alert popup message every period of time

    7天前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信