0
我目前使用的http://arshaw.com/fullcalendar/(全压光机插件)和qtip2插件创建全压光机插件事件。我想使用qtip2 popover创建事件。我没有任何想法如何做到这一点?任何人都可以请指导我呢?我想用qtip2
我目前使用的http://arshaw.com/fullcalendar/(全压光机插件)和qtip2插件创建全压光机插件事件。我想使用qtip2 popover创建事件。我没有任何想法如何做到这一点?任何人都可以请指导我呢?我想用qtip2
绑定选项select
到一个新的功能youFunction
(回调)。在这个新的功能,您应该收到选定的日期参数,那么你就可以操作,并根据需要保存的事件。
$('#calendar').fullCalendar({
// put your options and callbacks here
//...
select: yourFunction,
//...
});
function yourFunction(startDate, endDate, allDay) {
//open your popover, manipulate the data and save the event.
}