Digital Marketing Forum, Dofollow Forum, SEO, SMO, Web Development and Design Forum
Web Design & Development => Web and Graphics Design => Topic started by: Kajal on August 10, 2017, 01:30:18 am
-
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.
-
The XMLHttpRequest object can be used to exchange data with a server behind the scenes. This means that it is possible to update parts of a web page, without reloading the whole page.