Is there any jquery datepicker that consumes json data… My json data would be a list of future dates that belongs to any month should be consumed by my datepicker which should be disabled and highlighted with a color….
Share
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.
My datepicker provides this functionality using a “renderCallback”.
This example shows all weekends styled differently and disabled:
http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/datePickerCustomCellRender.html
And this much more complex example shows setting up different rules based on settings made on the page:
http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/datePickerLimitAvailableDatesAjax2.html
Basically you will instantiate the datePicker something like this:
Hope it helps 🙂