【发布时间】:2019-10-12 00:39:42
【问题描述】:
我的网站上有 2 个表格。 如果我保存了邮箱和密码等表格有输入密码, 它将在最后一个输入框(type=text)上自动填充电子邮件
我尝试添加 autocomplete=off autocomplete=contact_no name=contact_no 但它不起作用。
<form>
login form
<br>
<label> email<input type="text" /> </label>
<label> password <input type="password"/> </label>
<button type="submit"> submit</button>
</form>
<form>
member update form
<br>
<label> readonly email <input type="text"readonly value="abc@google.com"/> </label>
<label> contact_no <input type="text" name="contact_no" autocomplete="off"/> </label>
<label> password <input type="password" name="password"/> </label>
<button type="submit"> submit</button>
</form>
【问题讨论】:
标签: javascript jquery html google-chrome autocomplete