I Have implemented fullcalendar in my Ionic project. Now, I would like to change the color of a TD by clicking on it. This is to indicate which day is selected(clicked).
I know jQuery and I found a little script that does this:
Not quite… I see what you did there, I use this on other views in my app. But in combination with ‘fullcalendar’ it seems a bit different. There is just one line in my HTML code:
Every spot (number) on the calendar has its own data value, generated by JavaScript. To change the ‘selectedDate’ to the clicked day, the following code is used: