会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
erhsh 的另一个家
erhsh
走的不快,总比不走强!
博客园
首页
新随笔
联系
订阅
管理
公告
随笔分类 -
javascript
select 怎么实现 readonly的效果。。。
摘要:html中input标签有readonly的属性,使用时内容只可读取,不可修改。最近使用select,也想实现类似功能,网上找的的方法是加一条语句: onbeforeactivate = "return false" onfocus = "this.blur()" onmouseover="this.setCapture()" onmouseout="this.releaseCapture()
阅读全文
posted @
2011-01-24 10:30
erhsh
阅读(1099)
评论(0)
推荐(0)
博客园
© 2004-2026
浙公网安备 33010602011771号
浙ICP备2021040463号-3