摘要: <input alt="" class="" name='' type="text" onkeypress="return (/[\d.]/.test(String.fromCharCode(event.which||event.KeyCode)))"/> 加入了event.which 保证了火狐的 阅读全文
posted @ 2016-04-06 09:33 德森 阅读(1073) 评论(0) 推荐(0) 编辑