im trying to use the jquery fullcalendar. The event data comes from the server using JSON. My page has a dropdown element and the fullcalendar div.
What i need is to
I refresh this way after an ajax event adds an event using a modal for instance:
$('#cal').fullCalendar('removeEvents'); $('#cal').fullCalendar('addEventSource', "../calendar/json-events2.php") $('#cal').fullCalendar('rerenderEvents');