1:默认情况下AutoComplete是打开的。见IE-工具-内容-自动完成选项。如:在下面两个文本框双击,会出现你上次输入的内容。
<form> 
请双击文本框 <input type="text" name="wd"> <input type="text" name="email"> 
</form>

2:有时候我们并不需要AutoComplete,例如需要用户自己再次输入而非自动完成。只要将所在表单元素的autocomplete属性设置为off即可

<form> 
请双击文本框 <input type="text" name="wd" autocomplete="off"> <input type="text" name="email"autocomplete="off"> 
</form>

3、那么,如果所有表单元素都不想使用autocomplete功能呢?见下面的方法:

<form autocomplete="off"> 
请双击文本框 <input type="text" name="wd"> <input type="text" name="email"> 
</form>

相关文章:

  • 2022-01-09
  • 2021-12-19
  • 2022-12-23
  • 2021-09-09
  • 2022-12-23
  • 2022-12-23
  • 2022-01-16
  • 2022-12-23
猜你喜欢
  • 2022-02-14
  • 2022-12-23
  • 2021-12-05
  • 2022-12-23
  • 2021-11-25
  • 2022-12-23
相关资源
相似解决方案