如果不想让浏览器缓存input的值,有2种方法:

方法一: 
 <input type="text" autocomplete="off" name="test" />

方法二: 
<form action="#" autocomplete="off">
<input type="text"  name="test" />
</form>

相关文章:

  • 2021-09-18
  • 2022-12-23
  • 2022-12-23
  • 2021-08-08
  • 2022-02-05
  • 2021-08-21
  • 2022-12-23
猜你喜欢
  • 2021-08-01
  • 2022-12-23
  • 2021-12-02
  • 2022-12-23
  • 2022-02-07
  • 2022-12-23
相关资源
相似解决方案