General Knowledge Basic General Knowledge Subjective
Apr 03, 2013

Why do we use the XMLHttpRequest object in AJAX?

Detailed Explanation

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.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback