IE9突出显示禁用输入错误中的文本 [英] IE9 highlighting text in a disabled input bug

查看:83
本文介绍了IE9突出显示禁用输入错误中的文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Internet Explorer 9中,我有一个非常简单的页面,其中有一个禁用的输入文本字段。当我突出显示输入字段中存在的文本的某些部分然后将鼠标放在文本框之外时,就好像我从未发布鼠标
按钮一样。当我移动它时,文本选择仍然跟随鼠标光标。释放突出显示的唯一方法是在禁用的文本框内再次单击。


此问题仅出现在IE9中,但如果您将浏览器置于兼容模式,它就会消失。


也不调用事件(如模糊)。

解决方案

查看http://connect.microsoft.com/ie

In Internet Explorer 9 I have a very simple page in which there is a disabled input text field. When I highlight some part of the text present in the input field and then release the mouse outside of the text box then it's as if I never released the mouse button. The text selection still follow the mouse cursor as I move it around. The only way to release the highlight is to click again inside the disabled text box.

This problem is only present in IE9 but it disappear if you put the browser in Compatibility mode.

Events are not called either (like blur).

解决方案

see active bugs at http://connect.microsoft.com/ie


这篇关于IE9突出显示禁用输入错误中的文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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