top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

How we can use Ajax Using XML and XML HttpRequest?

+3 votes
How we can use Ajax Using XML and XML HttpRequest?
posted Dec 1, 2014 by Vrije Mani Upadhyay

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Originally XMLHttpRequest was an ActiveX object meaning that it's use was restricted to Microsoft-based intranets and not really suitable for websites. Fortunately the Mozilla team was interested enough to implement a JavaScript equivalent which has now spread not just to all Mozilla-based browsers but also to Gecko/KHTML-based browsers and Opera. Even IE7 no longer requires ActiveX to be installed to make use of XMLHttpRequest.

The JavaScript code we've developed comes in two parts. First we instantiate the XMLHttpRequest object and then process the response values. Also on this page you'll find some working examples and details on how to avoid the caching problem in Internet Explorer.

answer Dec 3, 2014 by Devyani
Contact Us
+91 9880187415
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Karnataka INDIA.