I am using jqery datepicker plugin with settings below.
$("#date").datepicker({ showButtonPanel: true, changeMonth: true, changeYear: true, showOtherMonths: true, selectOtherMonths: true });
Now what I want to do allows the user to set the year. I mean, if you manually change the selection input.
Are there any settings for this?
The reason I would like to do this is because I donβt know if the user selects a date from 1920 or 2220 or that year. Therefore, I do not have a good default date value. And the drop-down interface is not so convenient if you need to click 20 times to get from 2000 to 1600.
Edit: What I want to do is "Show unlimited years:" from keith-wood.name/datepick.html#monthyear. Is there something similar with the standard jquery datepicker. I cannot find the setting yearRange: "any" in the jQuery datepicker documentation.
source share