aborted
aborted

Reputation: 4541

jQueryUI - Datepicker help!

Okay, my problem's simple. The datepicker has lack of years in the year dropdown (from 2001 to 2021) I need the years to be from 1965 to 2000. How would I change the years dropdown?

Upvotes: 0

Views: 194

Answers (1)

Ray
Ray

Reputation: 1222

Use yearRange, is accepts two parameters, a start and an end value.

.datepicker({yearRange:'1965:2000'});

Upvotes: 1

Related Questions