Hello,
I am using the Jquery Datepicker found here. Does anyone know how I can modify this code to allow for past date selecting.
$('#start-date').bind('dpClosed', function(e, selectedDates) {
var d = selectedDates[0];
if (d) {
d = new Date(d);
$('#end-date').dpSetStartDate(d.addDays(1).asString()).dpSetSelected(d.asString()).val($(this).val());
}
});
Adding a
$('.date-picker').dpSetStartDate('01/01/2000')
;
doesn't work. :(
I would greatly appreciate all help.
Thanks,
Tim