页面的表单,刷新后不会自动清空。

网上找了找方法,备忘一下。

将文本框修改为
<input id="name"   value="java2000.net" autocomplete="off" />
如果是单个字段,可以在字段上书写,如果整个表单,则可以在form上书写
<form name="form1" id="form1" method="post" autocomplete="off"

相关文章:

  • 2022-02-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-06
  • 2021-07-20
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-04
  • 2022-01-03
  • 2022-12-23
  • 2022-01-04
  • 2022-12-23
  • 2022-12-23
  • 2021-09-12
相关资源
相似解决方案