Jump to content

Use Of Xml In Ajax


ahmad_n80

Recommended Posts

XML is one of the formats used in the response from XMLHttpRequest.If you haven't figured that out yet, AJAX is really just JavaScript sending an HTTP request with the XMLHttpRequest object and receiving a response.The real "magic" behind it is that if the response is XML, you can use the responseXML property to traverse the response in the same way you traverse your (X)HTML document in JavaScript. Any other format can only be read in the responseText property as a plain string (which may or may not be useful).

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...