snowy900

Full Calendar Issue - Not a function

snowy900 PURCHASED
1 year ago
Hello there

This is probably simple.
I have made a custom calender which works absolutely fine.
I have a select dropdown which I will use to filter the calendar but it fails,

This

$('#fabfilter').on('change', function() {
var c = ($('.fullcalendar').attr('id'));
c.fullCalendar('rerenderEvents');
});

Gives this

Uncaught TypeError: c.fullCalendar is not a function

Happens if I call the original selector as well.

Is this the way it is called from your script?
If so what to do?

Thank you