您的位置:首页 > 其它

select 怎么实现 readonly的效果。。。

2011-01-24 10:30 176 查看
html中input标签有readonly的属性,使用时内容只可读取,不可修改。

最近使用select,也想实现类似功能,网上找的的方法是加一条语句:

onbeforeactivate = "return false" onfocus = "this.blur()" onmouseover="this.setCapture()" onmouseout="this.releaseCapture()
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: