AJAX Example


实例

AJAX Examples

Create a simple XMLHttpRequest to return data from a TXT file.

Create a simple XMLHttpRequest to return data from an XML file.

Retrieve the header information of a resource (file).

Retrieve specified header information of a resource (file).

How a web page communicates with a web server when the user types characters in a text field

How a web page uses AJAX to retrieve information from a database

Create an XMLHttpRequest to retrieve data from an XML file and display it in an HTML table.

Create an XMLHttpRequest with a callback function and retrieve data from a TXT file.

Other extensions