AJAX Tutorial


AJAX = Asynchronous JavaScript and XML.

AJAX is not a new programming language, but a new method that uses existing standards.

The biggest advantage of AJAX is that it can exchange data with the server and update part of the web page content without reloading the entire page.

AJAX does not require any browser plugins, but requires the user to allow JavaScript to execute in the browser.

XMLHttpRequest is just one way to implement Ajax, of course you can also usefetch APIand other modern methods.


AJAX Examples

Use AJAX to modify this text content


Try it Yourself »


Now start learning AJAX!


Knowledge you need before reading this tutorial:

To read this tutorial, you need to have the following basics:

If you want to learn these basics, you can find the corresponding tutorials on our homepageExample Tutorial。


AJAX Applications

  • Use XHTML+CSS to express information;

  • Use JavaScript to manipulate the DOM (Document Object Model) to create dynamic effects;

  • Use XML and XSLT to manipulate data;

  • Use XMLHttpRequest or the new Fetch API for asynchronous data exchange with the web server;

  • Note:AJAX is different from RIA technologies such as Flash, Silverlight, and Java Applet.

Other Extensions