AJAX Tutorial
AJAX Tutorial
AJAX = Asynchronous JavaScript and XML.
AJAX is not a new programming language, but a new method using existing standards.
The biggest advantage of AJAX is that it can exchange data with the server and update parts of the webpage without reloading the entire page.
AJAX does not require any browser plugins, but it requires the user to allow JavaScript to execute in the browser.
XMLHttpRequest is just one way to implement Ajax, and modern methods like fetch API can also be used.
AJAX Instance
Modify this text content using AJAX
Try it »
Knowledge you need to know before reading this tutorial:
Prerequisites you need to have to read this tutorial:
- Basics of HTML and CSS
- JavaScriptBasics
If you want to learn these fundamentals, you can find the corresponding tutorials on our homepage Beginner Tutorial.
AJAX applications
-
Expressing information using XHTML+CSS;
-
Executing dynamic effects using JavaScript to manipulate the DOM (Document Object Model);
-
Use XML and XSLT to manipulate data;
-
Use XMLHttpRequest or the new Fetch API for asynchronous data exchange with web servers;
-
Note:AJAX is distinct from RIA technologies such as Flash, Silverlight, and Java Applet.