HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
To help you understand AJAX works, we create a small AJAX application:
The above AJAX application contains a div and a button.
div portion for displaying information from the server. When the button is clicked, it is responsible for calling a function named loadXMLDoc () is:
Next, in the head section of the page to add a <script> tag. The label contains the loadXMLDoc () function:
The following sections will explain your AJAX works.