| Issue 234: | [help] clientEvents | |
| 2 people starred this issue and may be notified of changes. | Back to list |
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 20, 2009
glad you got it to work
Status:
Done
Feb 10, 2012
Thank YOU!
Mar 16, 2013
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!
|
|
| ► Sign in to add a comment |
I found sorry ^^' solution: var event = $('#calendar').fullCalendar('clientEvents', 6); event = event[0]; event.title = title; $('#calendar').fullCalendar('updateEvent', event);