Disable autocomplete for all jquery datepicker inputs
try this:
$('.datepicker').on('click', function(e) {
e.preventDefault();
$(this).attr("autocomplete", "off");
});
in anycase you have not mentioned in your question that this is coming from an ajax call!
Assign a css class to your datepickers, i.e. "datepicker", then do the following:
$(".datepicker").attr("autocomplete", "off");
Try this:
<input type="text" name="field1" value="" autocomplete="off" />