I’ve set this up for a DOB field, however it’s going to take 5 years to scroll through the datepicker for anyone older than 2 years old. Is there a way I can customise the starting point, and also make it easy to select a year/month instead of having to hit next/previous month buttons over and over?
Edit:
I ended up changing this in the plugin itself (I know, not the best solution, but only one I could do for now…)
for those who want to follow it’s in the latest version at line 829.
I made it:
jQuery(".datepicker").datepicker({
'changeMonth' : true,
'changeYear' : true,
'defaultDate': '-25y'
});
instead of just:
jQuery(".datepicker").datepicker();