禁用阻止FireFox中的重复警报的选项 [英] Disable option that block repetitive alert in FireFox

查看:120
本文介绍了禁用阻止FireFox中的重复警报的选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为网络开发应用程序,我的应用程序使用一些警报来显示错误消息,但是如果我多次显示警报,在Firefox 4中将显示阻止重复警报对话框的选项,但是如果选中该选项,我不能继续做下一个动作。



你能告诉我如何隐藏alert选项吗?有没有可能的JavaScript?

解决方案

em> 编辑 :您可以使用 JQuery以独特的方式显示错误消息UI的对话框小部件。这不是一个标准的弹出框,是一个很好的方式来显示错误。



另一种选择是有一个div,您显示错误和显示/隐藏它。这是较少干扰,因为它一次显示所有的错误。


I´m developing for web and my application use some alerts to show error messages but in firefox 4 if I show the alert more than one time, the option for blocking repetitive alert dialogs will appear, but if I check the option, I can not continue to do the next action.

Can you tell me how to hide the option in alert ? Is there any possibility with javascript?

解决方案

No, that's the user's option not yours.

Edit: You can show error messages in a unique way using JQuery UI's dialog widget. This is not a standard popup box and is a nice way to display the error.

Another alternative is to have a div that you display errors in and show/hide it. This is less distracting since it shows all the errors at once.

这篇关于禁用阻止FireFox中的重复警报的选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆