| Issue 1202: | 'Events' as a function -- find vs each | |
| 2 people starred this issue and may be notified of changes. | Back to list |
Hello! I had problems with the generic Events function shown here: http://arshaw.com/fullcalendar/docs/event_data/events_function/ I couldn't get that function to work, but with Firebug I saw my dynamic custom JSON data was coming in just fine, so the issue fell on the Success function or callback. In the Success function there is a line: $(doc).find('event').each(function() { This is looking for 'event' elements in the incoming JSON array, but there are none. I am using the exact same feed with the regular Event declaration, should the feed be modified? Anyhow everything works for me as soon as I modified the line to this: $(doc).each(function() { Because the incoming JSON data is just arrays not within a parent array. In any case, it would also be very nice if you can find the time to post a working example of a dynamic change to an event source using ajax. I found 10 issue threads on this topic with lost of discussion and happiness, but no one has posted full examples. thanks for all the hard work!
Aug 14, 2013
Project Member
#1
adamrs...@gmail.com
Status:
WontFix
|
|
| ► Sign in to add a comment |