[jQuery] Opera .ajax text vs xml
In jquery, in opera, a .ajax call that is expecting a text file, and
is served a text file, gets an req.responseXML in the success
callback.
It's pretty much empty, it has no children just a dummy #document
node. Firefox & Safari don't return any req.responseXML making the
test a simple
if (req.responseXML) ...
for opera to work I need to code
if (req.responseXML && req.responseXML.hasChildNodes &&
req.responseXML.hasChildNodes())
Should jquery clobber the bogus partially empty req.responseXML ?
In this app I sometimes get a dom and sometime get text... I deal with both.
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/