问题
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