摘要: 1 if(!/^[A-Za-z0-9\u4e00-\u9fa5]+/.test(value)){ 2 alert('不能输入非法字符') 3 } 阅读全文
posted @ 2018-08-20 15:49 DHeng 阅读(1320) 评论(0) 推荐(0) 编辑