Prohibit the text box memory input html input box to remove memory function

html memory input box removed

AutoComplete feature, simply autocomplete set off , like this: 

JS ban text box input memory (tested: ok)

// prohibited memory input text box 
$ (Document) .ready ( function () {
     // The id acquired input box element, and does not automatically set to achieve the elimination of an input text box memory 
    document.getElementById ( "nice" ) .setAttribute ( "the AutoComplete", "OFF" ); 
})

body text box of memories prohibited input (not yet tested)

In the input text box to add attributes: autocomplete = "off"

<input id="nice" type="text" autocomplete="off" value="">

Auto-complete the entire form is prohibited (not yet tested)

<FORM method=post action="lue" autocomplete="off">
</FORM>

AutoComplete feature, simply autocomplete set off , like this: 

Guess you like

Origin www.cnblogs.com/mjtabu/p/12050366.html