Re: [jQuery] xmlHttpRequest, responseText, responseXML (fin)

2006-09-07 Thread Arash Yalpani
>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 wit

Re: [jQuery] xmlHttpRequest, responseText, responseXML

2006-09-07 Thread Mike Alsup
> 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

Re: [jQuery] xmlHttpRequest, responseText, responseXML

2006-09-07 Thread Arash Yalpani
Just an idea, I don't know how JQuery uses the XmlHttpRequest object but maybe it has problems with my gzipped XML files? Included in my Header: > Content-Encoding: gzip > > Arash ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss

Re: [jQuery] xmlHttpRequest, responseText, responseXML

2006-09-07 Thread Arash Yalpani
Hi Mike, Are you saying that responseXML is null? Are you sure? This is what Firebug shows me when I do console.log(xmlHttpRequest.responseXML):   [Document] null When I click on it, this is how responseXML looks like (btw, sorry for the HTML mail): null

Re: [jQuery] xmlHttpRequest, responseText, responseXML

2006-09-07 Thread Mike Alsup
> 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/

[jQuery] xmlHttpRequest, responseText, responseXML

2006-09-07 Thread Arash Yalpani
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 : XmlHe