if(/[<>\‘\"\\]/.test(fm.username.value)){alert("昵称包含非法字符");fm.username.focus();returnfalse;}
js 正则验证非法字符
原文地址:http://8818968.blog.51cto.com/8808968/1970642
if(/[<>\‘\"\\]/.test(fm.username.value)){alert("昵称包含非法字符");fm.username.focus();returnfalse;}
js 正则验证非法字符
原文地址:http://8818968.blog.51cto.com/8808968/1970642