![文本框在火狐中不能点了](https://i-blog.csdnimg.cn/blog_migrate/9a65557a1e45563024a2f9bba2d50e47.png)
文本框在火狐中不能点了
This is one a lot of people know, but it's worth covering again because it's easily forgotten as it's a small detail. Since we do eFinance sites, we often don't want folks' UserNames collected and stored in AutoComplete, especially when the site is browsed on a public machine.
这是很多人都知道的,但是值得再次介绍,因为它是一个很小的细节,很容易被忘记。 由于我们拥有eFinance网站,因此我们通常不希望收集或存储人们的用户名并存储在AutoComplete中,尤其是在公共计算机上浏览该网站时。
<form id="formSignOn" autocomplete="off" method="post" runat="server">
<form id =“ formSignOn” autocomplete =“ off” method =“ post” runat =“ server”>
Note that autocomplete="false" doesn't work. However, autocomplete="off" works in both IE and FireFox.
请注意,autocomplete =“ false”不起作用。 但是,autocomplete =“ off”在IE和FireFox中均有效。
Thanks to Johnson Michael for reminding me of this tip.
感谢Johnson Michael提醒我这个技巧。
翻译自: https://www.hanselman.com/blog/turning-off-autocomplete-for-textboxes-in-ie-and-firefox
文本框在火狐中不能点了