I'm using this:
eventClick: function (calEvent, jsEvent, view) {
$('#calendar').fullCalendar('removeEvents', event.id);
},
My database has: id
, title
, start
, end
, username
I tried to change "event.id"
to "id"
, but nothing seems to work. When I click on the event, all events are removed from the calendar, but not from the database. If I refresh the page they will appear again.