My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 70: Implementing jQuery $.ajax
1 person starred this issue and may be notified of changes. Back to list
Status:  Done
Owner:  ----
Closed:  Jul 2009


Sign in to add a comment
 
Reported by linkedw...@gmail.com, Jul 29, 2009
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
I think the $.ajax have to be called from outside the eventDrop.
Jul 31, 2009
#2 linkedw...@gmail.com
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
#3 zgjed...@gmail.com
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
Project Member #4 adamrs...@gmail.com
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
fctest.zip
42.2 KB   Download
Status: Done
Sign in to add a comment

Powered by Google Project Hosting