curiouswebster
asked on
Setting the minDate and maxDate from the current date, using jQuery Date Picker
I need the value of the year to go back in time no more than 75 years, I assume I'd need to explicitly set the minDate to this year - 75.
Is that right? Where do I set that value?
Thanks!
Is that right? Where do I set that value?
Thanks!
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks!
ASKER
How does this:
.datepicker({ minDate: '-75Y'});
relate to the other coded needed to instantiate my control?
$(function () {
$("#datepicker").datepicke
changeMonth: true,
changeYear: true
});
});