不想让ff缓存input的值

不想让ff缓存input的值,有2种方法:

方法一: 在不想使用缓存的input 中添加 autocomplete="off"; eg: <input type="text" autocomplete="off" name="test" />

方法二: 在 input 所在的form 标签中添加 autocomplete="off"; eg: <form action="#" autocomplete="off">


猜你喜欢

转载自blog.csdn.net/rockfall/article/details/8541411
ff