Jump to content

Use Of Xml In Ajax


ahmad_n80
 Share

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...