开发者

global options for jQuery UI

I am using jQuery UI 1.8.10. I want to set the UI DatePicker options in a global place for the entire site. For example:

$("#qexpiration").datepicker({ dateFormat: 'dd/mm/yy', isRTL: true});
开发者_运维知识库

How do I set the defaults for all the DatePickers in my site?


Try this http://docs.jquery.com/UI/Datepicker/setDefaults

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜