Return to Snippet

Revision: 50072
at August 7, 2011 03:27 by focal55


Updated Code
/*Use a jQuery selector to add a new attribute to
input fields that you dont want to have auto-fill*/
$('input[type="password"]').attr({autocomplete:"off"});

Revision: 50071
at August 7, 2011 03:27 by focal55


Updated Code
<code>
/*Use a jQuery selector to add a new attribute to
input fields that you dont want to have auto-fill*/
$('input[type="password"]').attr({autocomplete:"off"});
</code>

Revision: 50070
at August 7, 2011 03:26 by focal55


Initial Code
/*Use a jQuery selector to add a new attribute to
input fields that you dont want to have auto-fill*/
$('input[type="password"]').attr({autocomplete:"off"});

Initial URL


Initial Description


Initial Title
Prevent Browser Auto-fill

Initial Tags
jquery

Initial Language
JavaScript