Page 1 of 1

AJAX Examples

Posted: Fri Oct 27, 2023 9:08 am
by Guest
AJAX Examples


Simple Examples

Create a simple XMLHttpRequest, and retrieve data from a TXT file
Create a XMLHttpRequest with a callback function, and retrieve data from a TXT file

Examples explained

Request Header Information

Retrieve all header information
of a resource (file)
Retrieve specific header information
of a resource (file)

Examples explained

Request XML Files

Load an XML file with AJAX
Retrieve the content of an XML file

Examples explained

Retrieve Server Data with PHP and ASP

Retrieve the content of a PHP file
Retrieve the content of an ASP file

Examples explained

Retrieve Database Information

Retrieve content from a database

Examples explained

AJAX Applications

View an XML CD catalog
Display XML data in an HTML table
Show XML data inside an HTML div element
Navigate through XML nodes
A simple CD catalog application

Examples explained













+1

Reference: https://www.w3schools.com/js/js_ajax_examples.asp