I am newly working on FullCalendar. Following this thread I am able to go to a specific date when selected from a datepicker on my page.
I am displaying FullCalendar in week view. My problem here is, in week view I am not able to apply the fc-state-highlight
class on the date I have gone to. Even though the week has my required date, it is never highlighted.
However, I am able to remove the same class from the current date by using
$('.fc-today').removeClass('fc-state-highlight');
I need to add the above class to my gone-to-date.
Any help would be greatly appreciated.
EDIT: I have posted the solution myself.