我想使用javascript ..显示警报.

编程入门 行业动态 更新时间:2024-10-28 14:27:05
本文介绍了我想使用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 ..显示警报.

本文发布于:2023-11-27 16:47:42,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1638806.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:我想   警报   javascript

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!