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
$.datepicker.setDefaults({
dateFormat: 'dd/mm/yy',
isRTL: true
})