Web page Disable automatic completion of forms disable password AutoFill autocomplete

Source: Internet
Author: User

Automatic completion of forms in Web pages, sometimes convenient, but sometimes do not want to let the browser to remember the form, such as disabling the password field autofill function, Web page disable the automatic completion of the form is controlled by the INPUT element's AutoComplete property, The automatic completion of the closed form is set to autocomplete= "off", and the default is to open the value is on

To turn off auto-completion for a password field:

<input type= "password" name= "password" autocomplete= "Off" >

Turn off the full form (form) Auto-prompt feature:

Setting autocomplete= "Off" on the form

<form name= "Form1" autocomplete= "Off" > <input type= "text" name= "UserName" ><input type= "text" Name= " Password "> </form>
It is recommended that you do not turn off AutoComplete, disable some AutoComplete as needed, and if you feel that the auto-complete feature of your browser is not powerful enough, you can use the jquery plugin to achieve more powerful automatic prompt completion. For example, Baidu search box automatic prompt function is very powerful. This article Links: Web page Disable automatic completion of forms disable password AutoFill autocompletehttp://www.51xuediannao.com/html5/autocomplete.html

Web page Disable automatic completion of forms disable password AutoFill autocomplete

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.