Global jquery ui options

I am using jquery ui 1.8.10 I want to set the yi datepicker parameters in a global location for the whole site for example:

$("#qexpiration").datepicker({ dateFormat: 'dd/mm/yy', isRTL: true});

How to set default values ​​for all datpikers on my site?

+5
source share

All Articles