AJAX example


 example

AJAX example

A simple AJAX example

Create a simple XMLHttpRequest, From a TXT Return data in file .

use AJAX load XML file

Create a simple XMLHttpRequest, From a XML Return data in file .

use AJAX Have a HEAD request

Retrieve resources ( file ) Header information for .

use AJAX Make a specified HEAD request

Retrieve resources ( file ) The specified header information .

use AJAX from ASP File return data

How does a web page relate to when users type characters in a text box Web Communicate with the server

use AJAX Return data from the database

use AJAX How do web pages get information from the database

use AJAX from XML File return data

Create a XMLHttpRequest from XML Retrieve data from the file and display it in a HTML In the table .

use callback Function AJAX example

Use a callback Function to create a XMLHttpRequest, And from a TXT Retrieve data from a file .