input type password prevent autofill code example
Example 1: input without autocomplete
<input type="text" name="foo" autocomplete="off" />
Example 2: disable autocomplete javascript
someForm.setAttribute( "autocomplete", "off" );
someFormElm.setAttribute( "autocomplete", "off" );