0

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 Answers1

0

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...

Krishna
  • 5,194
  • 2
  • 28
  • 33
  • Download the recent version of jquery from jquery official downloads page and then replace your older jquery files with the recent one in your your project folder. Update the references in your project. Or you can directly copy the the recent jquery cdn urls and replace the the old references with the copied urls. – Krishna Jan 19 '16 at 14:41
  • I don't use jQuery UI at all. Why does it not work for me? – Debiprasad Jul 28 '17 at 08:50
  • @Debiprasad how are you using the plugin then? can you provide your code snippet. – Krishna Jul 28 '17 at 11:08
  • @Krishna I am using jQuery. Not jQuery UI. BTW, I found my mistake in my code and fixed it. – Debiprasad Jul 28 '17 at 12:59