Author Topic: Why do we use the XMLHttpRequest object in AJAX?  (Read 63 times)

Kajal

  • Hero Member
  • *****
  • Posts: 2473
  • Welcome to Digital Marketing Forum!
    • View Profile
Why do we use the XMLHttpRequest object in AJAX?
« on: August 10, 2017, 01:30:18 am »
Why do we use the XMLHttpRequest object in AJAX?

crackersguru

  • Full Member
  • ***
  • Posts: 114
  • Welcome to Digital Marketing Forum!
  • Location: India
    • View Profile
    • Crackers Guru
Re: Why do we use the XMLHttpRequest object in AJAX?
« Reply #1 on: August 22, 2017, 12:16:36 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.

virginoilseom

  • Full Member
  • ***
  • Posts: 185
  • Welcome to Digital Marketing Forum!
    • View Profile
Re: Why do we use the XMLHttpRequest object in AJAX?
« Reply #2 on: August 29, 2017, 05:26:38 am »
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.

 

Digital Marketing Forum is a do-follow forum, post and discuss IT topics here and get dofollow signature. Discuss about SEO, SMO, Directory Submission, 301 redirection, robots, social bookmarking, Web design and development.