用 django 做了一个网站,注册表单中的一段代码
<input name="password" title="长度要求在 6-20 位" class="Text_Box" id="reg_userpass1" required="" type="password" size="30" pattern=".{0}|.{6,20}">
在 chrome 下运行良好, ie11 就会报密码长度错误,即使长度是正确的
ie11 不兼容 html5 吗?
<input name="password" title="长度要求在 6-20 位" class="Text_Box" id="reg_userpass1" required="" type="password" size="30" pattern=".{0}|.{6,20}">
在 chrome 下运行良好, ie11 就会报密码长度错误,即使长度是正确的
ie11 不兼容 html5 吗?