Hi.
I upload changed event data to the database in background (ajax).
I would love to visualize the success of that operation to the user.
So when the ajax is done, according to the response I would like to either flash the event in question green vor half a second or red in case of an error.
How can I set the attributes of a single event?
More to the point: How do I identify that div-element.
Firebug does not show an id in the element, just an event-id attribute.
Is there a better way than to cursor over all the events to find that attribute?
These functions were not intended for the public API and that is why they are missing in the documentation.
Same thing could be achieved using only public API as well by setting custom CSS classes for events through a template with the help of some sort of flags.
For example:
Thanks for the reply, but my solution is not for the ejax but to visualize the result.
It changes the class and changes it back half a second later (the event-title is flashing red if some error occured on saving that event or green if the changes where successfully written).