日期:2014-05-17  浏览次数:20561 次

disable在IE8中可以接收焦点了?
src中写的disable
在IE6上显示正常
换成IE8后却可以接收焦点了
难道自动转换成readonly了?
求有经验者解答如何修改

谢谢

------解决方案--------------------
src 中写disable ?不知道楼主是什么标签

如果是input的话

直接在标签上加 <input type='text' disabled='true' /> 这样的属性

或者用readOnly好像input也没焦点的

<input type='text' readOnly /> 

readOnly 还不行 那就加上onfocus事件

<input type='text' onfocus='blur()' readOnly /> 

------解决方案--------------------
disable怎么会出现在src中?你写法有问题吧,代码贴出来看看