I am trying to change the ui-datepicker theme to “a” but it doesn’t seem to inherit it.
Does anyone know how to change the theme for the datepicker please?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As @Jayraj mentioned, the datepicker for jQueryMobile is still in an experimentation phase, but I’ve had a moderate amount of success in manually changing the layout themes set by default in the jQueryMobile datepicker widget (jquery.ui.datepicker.mobile.js).
The following elements are giving a default data-theme of ‘c’ (through their class names) :
As well as the following style for a ui-btn-up widget with a data-theme of ‘e’:
Changing these values to
respectfully have yielded expected results, but I would imagine that making these values dynamic by changing them based on the options passed in would be a much better solution :3