HTML中Select不用Disabled实现ReadOnly的效果

2019-12-26,,,,,

方法如下:
复制代码 代码如下:
<select onbeforeactivate="return false" onfocus="this.blur()" onmouseover="this.setCapture()" onmouseout="this.releaseCapture()">  
<option>1</option> 
</select>

您可能感兴趣的文章:

  • readonlydisabled的区别
  • javascript中input中readonly和disabled区别介绍
  • jquery设置元素的readonly和disabled的写法
  • jquery批量设置属性readonly和disabled的方法
  • 表单中Readonly和Disabled的区别详解
  • readonly和disabled属性的区别

《HTML中Select不用Disabled实现ReadOnly的效果.doc》

下载本文的Word格式文档,以方便收藏与打印。