去掉input 自动完善功能

chrome 浏览器,总是会给以前使用过的 input 记录下输入值,当以后再次输入时,就会提示。

关掉这种提示的方法:

给 form 或者input 加入属性 autocomplete ,并设值为 “off”.

相反,将该值设为“on” 就是打开这一属性。 

猜你喜欢

转载自blog.csdn.net/purple_lumpy/article/details/83089145