erhsh 的另一个家

erhsh

走的不快,总比不走强!

html中input标签有readonly的属性,使用时内容只可读取,不可修改。

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

onbeforeactivate = "return false" onfocus = "this.blur()" onmouseover="this.setCapture()" onmouseout="this.releaseCapture()

posted on 2011-01-24 10:30  erhsh  阅读(1098)  评论(0)    收藏  举报