full calendar event click not working

4.9k Views Asked by At

I have updated my fullcalendar plugin to the version 2.2.3 and now the eventClick is not getting triggered. I am using the jquery version 1.7.2 and jquery ui 1.8.18.

Below is how I am calling the fullcalendar: eventClick is not working, but the dayClick is working fine.

$('#calendar').fullCalendar({
editable: true,
height: '700',
events: [
{
title: 'My Event',
start: '2014-12-05'
}
],
dayClick: function (date, jsEvent, view) {
alert('day click');
},
eventClick:
 function (event, jsEvent) {
            alert('event clicked');
        }
    });

1

There are 1 best solutions below

4
On BEST ANSWER

Fullcalendar behaves abruptly without any errors and warnings when the jquery ui version is not up to date. So You need to update your jquery ui version preferably to 1.11...