Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
    Bookmark Topic Watch Topic
  • New Topic

Ajax: ResponseXML is getting null  RSS feed

 
Deepika Singh
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Report post to moderator
My XML HTTP Request sends results in responseText. The result is an
XML file I will need to parse. After research I determined that a
cross browser XML parser will look like this:

responseXML.getElementsByTagName("to")[0].firstChild.nodeValue;

However, I receive responseText, not responseXML. Does anyone know of
the cross browser way to handle this problem?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66141
141
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Please read this for more information.
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!