Mike, >Thanks for that feedback Aaron! XML responses are a little dicey >using the iframe approach. Although both dojo and YUI use this same >technique, dojo comes right out and says they don't support XML >responses: > >"XML responses are not supported because we can't get a nice >cross-browser solution" > >I was hoping Safari would cooperate since FF, IE and Opera seem to >play nicely. I'll keep digging into it (although it's difficult >without a Mac), but the safest way around this is to return text or >html responses when submitting the form and that's probably the 90% >use case anyway.
If for some reason the doc.XMLDocument fails, could we just use the xhr.responseText and convert it into an XML document? See this tutorial for some example code that shows creating a new XML document object and also converting some XML text into a new Document object: http://www.webreference.com/programming/javascript/definitive2/index.html I'm just thinking if we already have the RAW output, we can just convert that to an XML document. -Dan _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/