[jQuery] jQuery.ajax / xml / callbacks
Neither of the callbacks in the following code are ever invoked:
jQuery.ajax({
type: "GET",
url: actionUrl,
data: { productId: productId, quantity: quantity },
dataType: "xml",
error: function(e) { alert("Failure: " + e); },
success: function(xml) { alert("Got Results: " + xml); } });
I have verified the following:
1. The url defined by 'actionUrl' is being called correctly (determined from
server logs)
2. The results appear to be valid (at least when I invoke the url manually);
the content type is text/xml.
What am I doing wrong here???
--
View this message in context: http://www.nabble.com/jQuery.ajax---xml---callbacks-tp18495672s27240p18495672.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.