Why do we use the XMLHttpRequest object in AJAX?


The XMLHttpRequest object is used by JavaScript to transfer XML and other text data between client and server. The XMLHttpRequest object allows a client-side script to perform an HTTP request. AJAX applications use the XMLHttpRequest object
so that the browser can communicate to the server without requiring a postback of the entire page. In earlier versions of Internet Explorer, MSXML ActiveX component is liable to provide this functionality; whereas, Internet Explorer 7 and other browsers, such as Mozilla Firefox, XMLHttpRequest is not liable to.
Why do we use the XMLHttpRequest object in AJAX? Why do we use the XMLHttpRequest object in AJAX? Reviewed by NEERAJ SRIVASTAVA on 10:06:00 AM Rating: 5

No comments:

Powered by Blogger.