Can datepicker calendar show more than 10 years
Hi,
I am using jQuery datepicker for users to pick birthday, here is my code:
$('#DOB').datepicker({ changeYear: true, maxDate: new Date(), showOn: 'both', buttonImage: '/images/calendar.png', buttonImageOnly: true });
Since the birthdays are typically tens of years away, so I allow the users to change year to save clickings, but the Year selection drop down only show 10 years range, say this year is 2010, the dropdown will have 2000 - 2010 to begin, if I pick 2000 then 1990 - 2000 will show up. I am receiving complaints from some users saying that the calendar only allow them to pick the last 10 years before today. Is there a way to increase the size of the Year drop down?
TIA