autocomplete on 有name也不起作用

来源:3-1 form(autocomplete属性)

丶四夕

2018-04-17 21:02:23

<section><div class="signIn"><form  id="forms"> <h2>登陆</h2><div class="oneline"><input type="number" name="account" placeholder="请输入账号" id="account" autofocus autocomplete="on"><span>账号:</span></div><label id="erroMessage1"></label><div class="oneline"><input type="password" placeholder="请输入密码" name="password"><span>密码:</span></div><input type="text" placeholder="请输入验证码" required id="yanzheng" name="yanzheng"><div class="captcha"></div><label id="erroMessage2"></label><div class="secondline"><label for="student">学生</label><input type="radio" name="status" value="student" id="student" checked><label for="teacher">老师</label><input type="radio" name="status" value="teacher" id="teacher" required></div><input type="submit" value="登陆" id="submit"></form></div></section>只粘贴了html结构,为什么autocomplete on 对用户名和密码不起作用 ,下面的验证码起作用了 ,这个怎么解决,想让全部都起作用 换了两个浏览器都不能提问,最后换了个手机。。。。

写回答

1回答

小于飞飞

2018-04-18

该问题在另个问题提过,查看http://class.imooc.com/course/qadetail/47694。祝学习愉快。

0

0 学习 · 5012 问题

查看课程