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
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
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
});
});