//拦截特殊字符 function CheckCode(t) { var Error = ""; var re = /^[\u4e00-\u9fa5a-z]+$/gi; if (!re.test(t)) { Error = "名称中含有特殊字符!"; } return Error; }
//拦截特殊字符 function CheckCode(t) { var Error = ""; var re = /^[\u4e00-\u9fa5a-z]+$/gi; if (!re.test(t)) { Error = "名称中含有特殊字符!"; } return Error; }