HTML中Select不用Disabled实现ReadOnly的效果
摘要:方法如下:复制代码代码如下:1
方法如下:
复制代码 代码如下:
<selectonbeforeactivate="returnfalse"onfocus="this.blur()"onmouseover="this.setCapture()"onmouseout="this.releaseCapture()">
<option>1</option>
</select>
【HTML中Select不用Disabled实现ReadOnly的效果】相关文章:
★ js中setTimeout()与clearTimeout()用法实例浅析
★ javascript下使用Promise封装FileReader
★ JavaScript中使用Math.PI圆周率属性的方法