简体   繁体   English

完整的日历事件点击不起作用

[英]full calendar event click not working

I have updated my fullcalendar plugin to the version 2.2.3 and now the eventClick is not getting triggered. 我已经将我的fullcalendar插件更新为版本2.2.3,现在没有触发eventClick I am using the jquery version 1.7.2 and jquery ui 1.8.18. 我正在使用jquery版本1.7.2和jquery ui 1.8.18。

Below is how I am calling the fullcalendar: eventClick is not working, but the dayClick is working fine. 下面是我如何称呼全日历:eventClick不起作用,但是dayClick很好。

 $('#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'); } }); 

Fullcalendar behaves abruptly without any errors and warnings when the jquery ui version is not up to date. 当jQuery ui版本不是最新时,Fullcalendar的行为会突然发生,没有任何错误和警告。 So You need to update your jquery ui version preferably to 1.11... 因此,您需要将jquery ui版本最好更新为1.11 ...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM