自动完成功能,只需把AUTOCOMPLETE设为off即可,如: 

整个表单禁止自动完成

HTML code
<FORM method=post action="submit.asp" AUTOCOMPLETE="OFF">

禁止文本框自动完成

HTML code
<input type="text" name="creditcard" maxlength="16" AUTOCOMPLETE="OFF">

在脚本中禁止自动完成

HTML code
function init()
{
    element.setAttribute("AutoComplete", "off");
}

相关文章:

  • 2022-12-23
  • 2022-01-07
  • 2022-12-23
  • 2021-12-14
  • 2021-05-24
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-15
  • 2022-12-23
  • 2022-12-23
  • 2021-11-11
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案