jQuery datepicker years shown

Posted by John Boker on Stack Overflow See other posts from Stack Overflow or by John Boker
Published on 2008-11-06T17:31:13Z Indexed on 2010/04/02 22:53 UTC
Read the original article Hit count: 370

Filed under:
|

With the jQuery datepicker, how does one change the year range that is displayed? On the jQuery UI site it says the default is "10 years before and after the current year are shown". I want to use this for a birthday selection and 10 years before today is no good. Can this be done with the jQuery datepicker or will I have to use a different solution?

link to datepicker demo: http://ui.jquery.com/repository/latest/demos/functional/#ui.datepicker

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about datepicker