Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
So far, we’ve seen the creation and usage of the XMLHttpRequest object in both synchronous and asynchronous fashion. Let’s now see how the XMLHttpRequest object can be used to load an XML file and display its contents in the web browser. We will also discuss the usage of the responseXML property of the XMLHttpRequest object in this section.
Let’s open the same solution file (.sln file) that we created earlier and proceed with the following steps: