I have a jQuery datepicker script:
$(function() { $( \"#datepicker\" ).datepicker({ dateFormat: \"yyyy-mm-dd\" });
Just get input fields using #id and apply datepicker.
$(function() { $( "#datepicker1, #datepicker2" ).datepicker({ dateFormat: "yy-mm-dd" }); });