Tuesday, February 28th, 2006
DevArticles has posted a new tutorial to follow their previous item working with Ajax messages and responses with help from an ActiveX object. This time, they focus on the responseXML return value from the Ajax call.
Just like in the previous tutorial, they create the object they’ll use to work with the XML right at the start. They then take a second to look at the innerHTML attribute, showing what it is and how it can be used. They follow with an example XML response, the code to pull it over with Ajax, and how the object can be used to parse this result into something useful. They even include a detailed description of how to parse the XML document’s contents (versus just throwing the code out there and saying “this is the end result”).
Posted by Chris Cornutt at 7:43 am