jQueryUI Datepicker ‘changeYear’ setting

A not very well known setting for the datepicker widget for jQueryUI:

$( "#datepicker" ).datepicker({ changeMonth: true, changeYear: true });

Includes the functionality to change the year on the datepicker itself, pretty handy!

Leave a Reply

Your email address will not be published. Required fields are marked *