Issue 234: [help] clientEvents
Status:  Done
Owner: ----
Closed:  Dec 2009
Reported by nesskil...@gmail.com, Dec 8, 2009
Hello,
I have a problem to retrieve an event: I use "clientEvents" but my returned
 data are "undefined".

My code:
var event = $('#calendar').fullCalendar('clientEvents', 6);
//alert(event.title); => alert: undefined
event.title = title;
$('#calendar').fullCalendar('updateEvent', event);

my id event is correct, if I remove it with:
$('#calendar').fullCalendar('removeEvents', 6); it works 

:(
thanks for all.
Dec 8, 2009
#2 nesskil...@gmail.com
I found
sorry ^^'

solution:
var event = $('#calendar').fullCalendar('clientEvents', 6);
event = event[0];
event.title = title;
$('#calendar').fullCalendar('updateEvent', event);

Dec 20, 2009
Project Member #3 adamrs...@gmail.com
glad you got it to work
Status: Done
Feb 10, 2012
#4 kellyblu...@gmail.com
Thank YOU!
Mar 16, 2013
#5 kneid...@gmail.com
hey folks

trying to use this syntax as well - but its not working for me.

lets say i have the event.id  and want to then use it to find other events with same ID, and then apply  class to them - this should work, but it doesn't:

var similarEvents = $("#calendar").fullCalendar('clientEvents',selectedID).addClass("reg_selected");


any ideas why the addClass wont work on this?

thanks!