开发者

global options for jQuery UI

开发者 https://www.devze.com 2023-02-17 18:03 出处:网络
I am using jQuery UI 1.8.10. I want to set the UI DatePicker options in a global place for the entire site.

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

精彩评论

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