Chinaunix首页 | 论坛 | 博客
  • 博客访问: 393970
  • 博文数量: 105
  • 博客积分: 4100
  • 博客等级: 上校
  • 技术积分: 1040
  • 用 户 组: 普通用户
  • 注册时间: 2008-07-27 19:57
文章存档

2012年(1)

2011年(9)

2010年(4)

2009年(25)

2008年(66)

我的朋友

分类:

2009-09-08 14:20:01

HTML中Select不用Disabled实现ReadOnly的另类实现



<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>

阅读(544) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~