Results 1 to 3 of 3

Thread: Why do we use the XMLHttpRequest object in AJAX?

  1. #1

  2. #2
    Registered
    Join Date
    Aug 2017
    Posts
    90
    Javascript uses the XMLHttpRequest object to manipulate XML and other text data between client and server.
    - AJAX applications use the XMLHttpRequest object to avoid the postback of entire page when the browser is communicating with server.
    - The XMLHttpRequest object enables a client-side script to execute an HTTP request.
    - For this functionality MSXML ActiveX component is used in earlier version of Internet Explorer. While, XMLHttpRequest is used in Internet Explorer 7 and other browsers, such as Mozilla, Firefox.

  3. #3
    Registered
    Join Date
    Jun 2017
    Location
    India
    Posts
    138
    Because java script can understand XML requests and commands. Usage of java is not possible in all web applications so it is easy to execute XML requests which can be processed by jquery.

Similar Threads

  1. What are the traits of an object-oriented language?
    By Shivangi Panwar in forum Website Programming & Databases
    Replies: 1
    Last Post: 08-24-2016, 03:10 AM
  2. JWT token in C# web API using jquery Ajax
    By Hasanenvent in forum Website Programming & Databases
    Replies: 0
    Last Post: 07-20-2016, 06:09 AM
  3. Can't get this AJAX form validation to work
    By deronsizemore in forum Website Programming & Databases
    Replies: 4
    Last Post: 03-08-2007, 07:49 PM
  4. Hurry! ASP.NET AJAX Hosting (Formerly ATLAS) for $1.67/mo only
    By hostingatoz in forum The Marketplace
    Replies: 0
    Last Post: 02-09-2007, 11:59 PM
  5. Ajax
    By izwar in forum Website Programming & Databases
    Replies: 10
    Last Post: 10-16-2006, 03:41 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •