When using the xhtml1-transitional.dtd doctype, collecting a credit card number with the following HTML
xhtml1-transitional.dtd
This solution works with me:
$('form,input,select,textarea').attr("autocomplete", "nope");
if you want use autofill in this region: add autocomplete="false" in element ex:
autocomplete="false"