开发者

sort years in jquery datepicker

By default, in a jquery datepicker years are shown like this: 2007 2008 2009 2010 2011

and I want them to be sorted ascendent: 2011 2开发者_高级运维010 2009 2008 2007

I'm using google's online jquery, so I can't change anything in the code. any idea on how to change the type of sorting? I haven't found a parameter to pass the type of sorting.

thank you


May be duplicate of

JQuery UI Datepicker, reverse the order of the year in the dropdowns


and I want them to be sorted ascendent: 2011 2010 2009 2008 2007

That's descending, no ascending.

I'm using google's online jquery, so I can't change anything in the code.

Your page code does not run from google servers, you're simply loading jQuery (et al) from them

JQuery UI Datepicker, reverse the order of the year in the dropdowns

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜