It should be simple, but I'm stupid, so ...
I want to make a simple conditional statement to see if a calendar has already been displayed in a div. Something like that:
if ( $('#calendar').fullCalendar() ) { alert("calendar exists!!"); }
I want to do this to delete and then restart the calendar programmatically. Basically, the reset button.
Can someone please let me know the correct syntax to check if a fullCalendar object has been provided?
Thanks in advance!
javascript jquery fullcalendar
MVO
source share