摘要: <script>function ValidateSpecialCharacter() { var code; if (document.all) { //判断是否是IE浏览器 code = window.event.keyCode; } else { code = arguments.callee.caller.arguments[0].which; } var character = String.fromCharCode(code); var txt=new RegExp("[ ,\\`,\\~,\\!,\\@,\#,\\$,\\%,\\^,\\+,\\*,\\&a 阅读全文
posted @ 2013-04-27 17:44 虎猫 阅读(461) 评论(0) 推荐(0) 编辑