如何使用css或jquery更改ie9中禁用的输入文本框文本颜色的颜色?

时间:2014-02-24 07:40:10

标签: jquery css

我已经检查了以下内容 How to change color of disabled html controls in IE8 using css Change the font color of disabled input text box?

无论如何都要改变ie9中的字体颜色?

1 个答案:

答案 0 :(得分:0)

已禁用的属性Css在IE旧版本上不起作用。但现在IE 11支持它。

这是Demo链接。 http://jsfiddle.net/kheema/NpHn6/4/

我使用了这条CSS线。

input[type="text"]:disabled{color:red;}