Close the browser input box and automatically complete compatibility with mainstream browsers such as IE, ff, and chrome.

Source: Internet
Author: User
This article mainly introduces how to disable the browser input box and automatically complete compatibility with mainstream browsers such as IE, ff, and chrome. For more information, see. Hope to help you

The Firefox and IE browsers each implement the input history function, which simplifies the input troubles. However, sometimes the pop-up drop-down box blocks the content displayed on the page, in some cases, you do not need to record the input box. For example, if you do not query the same number multiple times, you do not need to make browser records.

MSIE customizes the extended attribute AutoComplete of input and sets it to off.

<Input type = "text" AutoComplete = "off" id = "Number"/>

This method can be used to shield MSIE, Firefox, chrome, and opera from using another extended attribute disableautocomplete.

<Input type = "text" disableautocomplete id = "Number"/>

The two extended attributes can be used at the same time. The browser automatically parses the attributes based on its own characteristics.

Close the browser input box and automatically complete compatibility with mainstream browsers such as IE, ff, and chrome.

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.