IE 11问题 - 在最小化当前窗口后显示Alert()弹出窗口 [英] IE 11 issue - Alert() popup is getting displayed after minimizing the current window

查看:123
本文介绍了IE 11问题 - 在最小化当前窗口后显示Alert()弹出窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我有以下简单的html页面,其中包含一个文本字段,其中显示有关模糊事件的警报消息。每当用户关注文本字段并单击窗口内的任何位置时,在最小化当前窗口
之后将显示警报消息,即警报消息的后端在最小化时不显示当前窗口。仅当单击警告消息的确定按钮时,才会显示窗口。在文本字段中使用标签按钮时不会发生此问题。 
$




Hi,

I have the following simple html page with a text field which  displays alert message on blur event. Whenever user focuses on the text field and click anywhere within the window , then alert message is getting displayed after minimizing the current window i.e the back end of the alert message doesn't display the current window as it is minimized. Only when ok button of alert message is clicked , the window is displayed back. This issue is not happening while using tab button in text field. 


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title>Untitled Page</title>
</head>
<body>
<input name="txtFromDate" tabindex="6" id="txtFromDate" style="width: 75px;"  onblur="alert('Clicked');" type="text" maxlength="10" value="04/11/2017">

</body>
</html>





IE11的版本有此问题 - 11.0.9600.16384(Windows Server 2012 R2),11.0.9600.18378(Windows Server 2012 R2)  11.0.9600.18618(Windows 8)



没有此问题的IE11版本 - 11.0.960.18617(安装在Windows 7中)



如果有任何修复,请告诉我。



Versions of IE11 that has this issue – 11.0.9600.16384(windows server 2012 R2) ,  11.0.9600.18378(windows server 2012 R2)  ,11.0.9600.18618(Windows 8)

Versions of IE11 that is not having this issue - 11.0.960.18617(installed in windows 7)

Kindly let me know if there is any fix for this.

注意:这在IE8中完美运行。

Note: This works perfectly in IE8.

推荐答案

非常感谢您提供解决方案,这解决了这个问题。

Thank you very much for the solution and this has fixed this issue.

我想知道这是否是IE11的错误,因为这在IE8中得到了正确处理。

I would like to know if this is a bug with IE11 as this is handled properly in IE8.

我们有多个模块包含onblur中的警报消息事件,所以我们必须在所有地方改变吗?我们对此问题有任何通用的解决方法吗?

We have multiple modules that contains alert message in onblur event , so do we have to change in all places ? do we have any generic fix for this issue?


这篇关于IE 11问题 - 在最小化当前窗口后显示Alert()弹出窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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