OSSEZ
JavaScript 字符串验证 - 判断字符由字母和数字组成
软件技术
前端
honeymoose
October 31, 2012, 2:44am
1
<input onblur="if(/[^0-9a-zA-Z]/g.test(this.value))alert('有错')">