Ajax: Requesting Data and Retrieving Responses

Developers who wish to learn Ajax scripting language to add seamless interactivity to their web applications


Expected Duration
82 minutes

Rather than a singular technology, Ajax, or Asynchronous JavaScript and XML, is a collection of technologies that enables web pages to make server requests without having to reload the page. You can use Ajax to create asynchronous web applications that provide a faster, more user-friendly experience. In this course, you will learn how to use the XMLHTTPRequest object to send data requests and retrieve data from the server in the form of text, XML, and JSON responses.


Request and Response from a Server

  • use Ajax to send data requests, including JSON requests, to a server and receive text, XML, and JSON responses
  • dynamically change browser window contents using Ajax code
  • create the Ajax XMLHTTPRequest object
  • use the Ajax parameterized GET method to receive information from the server
  • use the Ajax parameterized POST method to receive information from the server
  • use the Ajax reponseText property to display text response from the server
  • use the Ajax onreadystatechange event to monitor the server for a response

Request and Response with XML

  • create a script to use Ajax to convert console log results into an XML object
  • create a script to use Ajax to parse XML data received by a browser
  • translate XML data received via Ajax directly into an HTML table
  • display XML data received via Ajax using XSLT
  • use XSLT elements to format and select XML tree information received from Ajax
  • use Ajax to build an XML server response in PHP

Request and Response with JSON

  • use the JSON protocol in an Ajax script
  • create a JSON request using JavaScript in Ajax
  • use Ajax to create a JSON object





Multi-license discounts available for Annual and Monthly subscriptions.