Home > DeveloperSection > Interviews > Why do we use the XMLHttpRequest object in AJAX?

Posted on    September-02-2014 11:14 PM

 ASP.Net ASP.Net 
 1 Answer(s)
  816  View(s)
Rate this:

Sumit Kesarwani

Total Post:782

Posted on    September-02-2014 12:00 AM

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.

Don't want to miss updates? Please click the below button!

Follow MindStick