我需要改变CSS中禁用输入元素的样式。
<input type="text" class="details-dialog" disabled="disabled" />
我如何做这个Internet Explorer?
解决方法
您无法使用Internet Explorer。
见this comment我写了一个相关的话题:
There doesn’t seem to be a good way,
see:
07001
– you can set the input toreadonly
instead,but that has other
consequences (such as withreadonly
,
theinput
will be sent to the server
on submit,but withdisabled
,it won’t
be): 07002
另见,Changing font colour in Textboxes in IE which are disabled