本文介绍了我想使用javascript ..显示警报.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好, 我必须显示警报,即使用户已最小化应用程序窗口或从事其他工作(例如处理单词等),警报也会在固定的时间间隔内.
Hi all, I have to display alert, even if user have minimize the application window or working in other task like working on word etc. the alert will be in regular interval of time.
推荐答案您好, 如果用户最小化Web浏览器,则可以引发警报.但这不会中断系统程序或类似系统弹出窗口.javascript无法引发系统程序 因此,不要浪费您的时间. 用另一种方式制作... 定期更改页面标题或颜色 与gmail中相同. 我希望你能理解我说的话. 最好的 Hi, you can raise alert if user minimize web browser.But it doesn''t interrupt system programs or like System popups.javascript cannot raise system programs So,don''t waste your time. Make it in another way like ... change title of page in regular intervals or color same as in gmail. I hope you understood what I said. All the Best
<html> <head> <script type="text/javascript"> function show_alert() { alert("Project has been add"); } </script> </head> <body> <input type="button" onclick="show_alert()" value="Save" /> </body> </html>
或示例 www.ajaxcontroltoolkit/ConfirmButton/ConfirmButton.aspx [ ^ ]
or for sample www.ajaxcontroltoolkit/ConfirmButton/ConfirmButton.aspx[^]
更多推荐
我想使用javascript ..显示警报.
发布评论