Click here to Skip to main content
15,886,075 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How to Highlight Specific Dates FIND from database mysql in jQuery UI Datepicker
other dates are disable

What I have tried:

How to Highlight Specific Dates FIND from database mysql in jQuery UI Datepicker
Posted
Updated 12-Dec-19 4:06am

There are actually two parts to your question

How to Highlight Specific Dates ... in jQuery UI Datepicker
The synapsis for this is you are going to need to create "events" on the calendar and then apply a style to the events. The following link looks to be a decent article that covers this item in detail for you
How to Highlight Specific Dates in jQuery UI Datepicker - CodexWorld[^]

Dates FIND from database mysql
You will need to execute a SELECT statement to get a list of dates to populate the jQuery Calendar events. I cannot give you specifics on this as you have provided nothing to work with.

If you are loading this at page load, you could use whatever backend language you are using (PHP, .Net, etc.) to inject the dates into the javascript.
If you are using AJAX to grab the dates, you would use the success function to itterate over the date list and add the events that way.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900