I Have multi date fields and i use DatePicker to show the calendar and choose date.
Currntly when use click the text input it shows the calendar and the default data of today
im using the script like this
$(function(){
$('input[rel="datepicker"]').datepicker({
"autoclose": true
});
});
i need to set the Default date of the shown calendar to somethign like 01/01/1940
i tried
$(function(){
$('input[rel="datepicker"]').datepicker({
"autoclose": true
});
$('input[rel="datepicker"]').datepicker("setDate", Date(1940,01,01));
});
but his one changed the input itself to 01/01/1940 instead of being empty
i need the inputs remain empty but when the user click on the input and the calnder shows it must shows Junray 1940 instead of today date