HTML中Select不用Disabled实现ReadOnly的另

回覆文章
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

HTML中Select不用Disabled实现ReadOnly的另

文章 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>
回覆文章

回到「HTML + CSS」