在IE10中模糊文本框的事件 [英] Blur event of text box in IE10

查看:91
本文介绍了在IE10中模糊文本框的事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我在文本框中附加了模糊事件。我的光标焦点在文本框中,当我点击

按钮时,按钮点击事件不会触发第一个文本框模糊事件触发,所以我们需要点击两次按钮。我知道这个问题来自IE10,而不是其他。



如何解决此问题?

Hi All,
I have attached the blur event in textbox. My cursor focus is in textbox, when i clicked on a
button then button click event does not fire first textbox blur event fire, so we need click on button twice. I checke this issue come in IE10, not other.

How can i resolve this issue?

推荐答案

在IE 10上使用文档模式:标准你可以单击鼠标但只使用Tab键在div中获得焦点。您可以通过框外的单击来失去焦点。
On IE 10 with document mode: Standards you can't gain focus in div with a mouse click but only using Tab key. You can lose focus with a click outside the box.


这篇关于在IE10中模糊文本框的事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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