I have a jQuery datepicker script:
$(function() { $( \"#datepicker\" ).datepicker({ dateFormat: \"yyyy-mm-dd\" });
Just change all id to class.
id
class
$(function() { $( ".datepicker" ).datepicker({ dateFormat: "yyyy-mm-dd" }); });
also can use
$(function() { $( "input[name^=MyDate]" ).datepicker({ dateFormat: "yyyy-mm-dd" }); });