Close the browser input box and automatically fill in the compatibility with Internet explorer FF Chrome and other mainstream browsers

  • 2020-03-30 01:41:04
  • OfStack

Firefox and Internet explorer browser implements the function of the input history can simplify the input at the time of trouble, but sometimes the pop-up drop-down box cover page display content, and in some cases, don't need to record the input box, such as the number of the query input box, the user query many times not to the same number, there is no need to let the browser.

MSIE customizes the extended autocomplete property of input, set it to off

< Input type = "text" autocomplete = "off" id = "number" / >

Blocking MSIE, Firefox, chrome, and opera in this way requires another extended disableautocomplete property

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

Both extension properties can be used at the same time, and the browser will parse them automatically according to its own characteristics.

Related articles: