When using the xhtml1-transitional.dtd
doctype, collecting a credit card number with the following HTML
If you use jQuery, you can do something like that :
$(document).ready(function(){$("input.autocompleteOff").attr("autocomplete","off");});
and use the autocompleteOff class where you want :
If you want ALL your input to be autocomplete=off
, you can simply use that :
$(document).ready(function(){$("input").attr("autocomplete","off");});