In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)05/31 Report--
In this article Xiaobian for you to introduce in detail "jQuery how to achieve the prohibition of form user name, password automatic filling function", detailed content, clear steps, details handled properly, I hope that this "jQuery how to achieve prohibition of form username, password automatic filling function" article can help you solve doubts, following the editor's ideas slowly in-depth, together to learn new knowledge.
Html login forms are often filled out automatically, and even websites where users have never logged in are filled out automatically, which is very annoying.
Mozilla developer documentation recommends using the form setting property tautocomplete= "off" to prevent browsers from getting data from cache to populate the login form.
However, this scheme is not compatible with some Chrome and Firefox.
In the end, it was decided to use hidden input to accept browser auto-fill, which does not affect the user experience and is compatible with all browsers.
PS: take a look at the ability to prevent forms from automatically filling in usernames and passwords
Some browsers support: autocomplete= "off"
So browsers support:
Add the following two codes to the from that will be automatically populated
Read this, the "jQuery how to achieve the prohibition of form user name, password automatic filling function" article has been introduced, want to master the knowledge of this article also need to practice and use in order to understand, if you want to know more related articles, welcome to pay attention to the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.