Fullcalendar.js get events of the day on click
Is it possible to get all events of the day I click on in the monthview and print them in any div
element with Fullcalendar.js
?
Here's my JSFiddle:
Fullcalendar.js get events of the day on click
Is it possible to get all events of the day I click on in the monthview and print them in any div
element with Fullcalendar.js
?
Here's my JSFiddle:
You can always iterate over all events and find out which event is on selected day. Here is my function to do that:
You can see my DEMO.
If you click on date 2014-10-06 there will be 2 events that will shows up in alert. Click on date 2014-10-07 will alert only one event.