Is there a way to prevent browser autofill an input box?
Possible Duplicates:
How do you disable browser Autocomplete on web form field / input tag?
Is there a W3C valid way to disable autocomplete in a HTML form?
My browser automatically fills the register form in my website, which is supposed to be anonymous so it's not a very good sign to users to see their names already on the form.
Is there a way to prevent this from happening?
I could take the input box and simply erase it with javascript but I wanted to know if there was another way round. Thanks
<input type="text" autocomplete="off" />
这应该工作。
链接地址: http://www.djcxy.com/p/26434.html上一篇: ASP.Net文本框不应该建议旧的值
下一篇: 有没有办法阻止浏览器自动填充输入框?