摘要:
1、给网页设定快捷键 js: function getkey(){ event = event || window.event; url = "www.baidu.com"; asc = event.keycode; key = String.fromCharCode(asc); if(key == 阅读全文
posted @ 2016-02-26 21:22
目标奔雷手
阅读(178)
评论(0)
推荐(0)
摘要:
/*** 特殊符号 */ function specialCharacter(carNo){ var st=/^[^/@#$%^&*()—''_()!¥~·。.,-<>《》{}??/||【】[]\\,、+=]*$/; if(st.test(carNo)){ alert("有非法字符!"); } el 阅读全文
posted @ 2016-02-26 21:18
目标奔雷手
阅读(233)
评论(0)
推荐(0)

浙公网安备 33010602011771号