I have a jQuery datepicker script:
$(function() { $( \"#datepicker\" ).datepicker({ dateFormat: \"yyyy-mm-dd\" });
Tired of repeating this, but still, am repeating it once more. ids have to be unique. So, use this:
id
with
$(function() { $( ".datepicker" ).datepicker({ dateFormat: "yyyy-mm-dd" }); });