为何input不能验证
<inputclass="form-controlform-control-solidplaceholder-no-fix"type="password"autocomp...
<input class="form-control form-control-solid placeholder-no-fix" type="password" autocomplete="off" placeholder="请输入密码" name="password" onblur="var reg=/^\[0-9A-Za-z]{6,20}$/; if(!reg.test(this.value)) {alert("您只能输入6到20位英文及数字密码"); this.value="";}" > </div>
展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询