1 頁 (共 1 頁)

HTML中Select不用Disabled实现ReadOnly的另

發表於 : 2008-11-03 17:40:27
yehlu
http://www.cnblogs.com/wuqing17/archive ... 57827.html

<html>
<body>
<select onbeforeactivate="return false" onfocus="this.blur()" onmouseover="this.setCapture()" onmouseout="this.releaseCapture()">
<option>1</option>
<option selected>2</option>
<option>3</option>
</select>
</body>
</html>