How to add Google Calendar Dynamically to jQuery FullCalendar?

非 Y 不嫁゛ 提交于 2019-12-12 01:32:29

问题


I have seen how to add google calendar, but when I run it, it create's a new calendar, even though the selector I am using, refer's to an existing calendar.

        $calendar.fullCalendar({
        events: $.fullCalendar.gcalFeed($feed_url.val())
    });

I have other functions, that use renderEvents, but I am not sure how to use that with google calendars...

Any thoughts or suggestions?

Thank You.


回答1:


Look at the addEventSource function. If you can call that function with your $.fullCalendar.gcalFeed($feed_url.val()) as the second argument. I tested it over at jsfiddle.



来源:https://stackoverflow.com/questions/2883703/how-to-add-google-calendar-dynamically-to-jquery-fullcalendar

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!