Hi,
how to clear all the events from the calendar with javascript ?
Not remove the events form data base, but just clear the calendar for display.
I tried :
__________________
dpc1.events = [];
dpc1.update();
__________________
or
__________________
dpc1.events.splice(0, calendar.events.length);
dpc1.update();
__________________
but it doesn't works.
Any suggestion ?