Hi, I am in the process of migration my own Ajax lib to JQuery's.
This how I call my server:
$.ajax({
url: config.API_URL,
type: 'POST',
data: $.param(data),
complete: XmlHelper.ajaxDone,
success: XmlHelper.ajaxSuccess,
error:(onerror ? onerror :
Strangely, the xmlHttpRequest object holds the responded XML in
responseText, instead of responseXML.
Are you saying that responseXML is null? Are you sure?
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
This is what Firebug shows me when I do
console.log(xmlHttpRequest.responseXML):
Well that makes sense. responseXML should be a doc and that's what
you've got. If you were to alert responseXML you'd see something like
[object XMLDocument]. responseText holds the actual text returned
from
Well that makes sense. responseXML should be a doc and that's what
you've got. If you were to alert responseXML you'd see something like
[object XMLDocument]. responseText holds the actual text returned
from the server.
Yes, you are absolutely right. And no, JQuery has NO problems with