| Issue 70: | Implementing jQuery $.ajax | |
| 1 person starred this issue and may be notified of changes. | Back to list |
How do you implement the jQuery $.ajax function whenever there is a
eventDrop? Is this even possible? My code is below but it does not invoke
the php file whenever there is an eventDrop.
eventDrop: function(event, delta) {
$.ajax({ type: "post",
url: "update_event.php",
data: "some data",
success: function(html){
$("#results").append(html);
}
}); // End ajax method
},
Jul 29, 2009
#1
jetmirh...@gmail.com
Jul 31, 2009
Can you be more specific? If the $.ajax does not work with the full calendar, is there another way to post when an event is invoked?
Jul 31, 2009
I have the same problem. It does not throw a javascript error but seems like it does post. Kamashev, do you know if this can be done inside an eventDrop?
Jul 31, 2009
works for me, can't recreate this. run basic.html in the attached zip. to ensure everything works, run basic.html from a webserver, not from the local file. i have a feeling your ajax's success handler was never being reached b/c there were permission issues
Status:
Done
|
|
| ► Sign in to add a comment |