js 屏蔽 backspace ,enter 等误操作。
对[url=http://dingfenghua.iteye.com/blog/658493]http://dingfenghua.iteye.com/blog/658493[/url]中提到的方法进行了部分修改,为了针对readOnly的一些属性进行backspace屏蔽:
[code="js"]
if (typeof window.event != 'undefined') {
...
原创
2010-06-24 11:10:20 ·
118 阅读 ·
0 评论