开发者

jQueryUI - Datepicker help!

开发者 https://www.devze.com 2023-02-12 12:15 出处:网络
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 fr开发者_运维问答om 1965 to 2000. How would I change the years dropdown?Use

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 fr开发者_运维问答om 1965 to 2000. How would I change the years dropdown?


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

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

精彩评论

暂无评论...
验证码 换一张
取 消