Hi Team,
How can I change the date format of datepicker at runtime?
My application needs to detect the datePattern of mobile device and adjust the date format of picker.
I tried to use what's available on Jquery mobile documentation.
$.datepicker.setDefaults("dateFormat","yy-mm-dd');
OR
$.("[dsid=datepickerName]").datepicker("option","dateFormat","yy-mm-dd");
But they don't work.
Thanks
Dongzhi