Inspired? No home

XMLHTTPrequest and DOMDocument - cross-browser

This is an AJAX example on how to use my cross-browser XMLHTTPRequest and DOMDocument script. It can used for three things:

1. Execute HTTP POST/GET request to another server and get the response using XMLHTTPRequest.

2. Load XML documents using DOMDocument.

3. Check if client supports the above methods, and which version of the Microsoft XML Parser (MSXML) is installed.

Click the 'execute script' button below to display debug data for your browser and contents of one html and one xml file.

Download the JavaScript source file here.

Technorati: , , ,

Written on 18 May 2005.
blog comments powered by Disqus