Hi, I got a page that returns json info from a cfc. the json looks like this:
[{"allday":true,"title":"event1","userid":1,"end":"","classname":"","editable":true,"start":"2010-09-01","id":1,"url":""},{"allday":true,"title":"event2","userid":1,"end":"","classname":"","editable":true,"start":"2010-09-10","id":2,"url":""},{"allday":true,"title":"event3","userid":1,"end":"","classname":"","editable":true,"start":"2010-09-15","id":3,"url":""}]
When I use: $(document).ready(function() { //Create JQuery connection to obj $('#event').hide(); //Make event bubble draggable $('#event').draggable();
$('#evBubbleClose').click(cleanEventBubble);
// page is now ready, initialize the calendar...
$('#calendar').fullCalendar({
// put your options and callbacks here
dayClick:function(date, allDay, jsEvent, view){
createEvent(date, allDay, jsEvent, view, this);
},
events: 'http://xxxxx/cfc/FullCalendarEvents.cfc?method=getEvents' ,
theme: true,
header: {left: 'prev,next today', center: 'title', right: 'month,agendaWeek,agendaDay' },
editable:true
});
}); The events do not render, however if I copy and paste the json in event: JSON Array here, it will show the events.
What am I doing wrong that the events don't render from a feed?