how to remove password autofill using javascript code example Example: input without autocomplete <input type="text" name="foo" autocomplete="off" />