Create Your First AJAX Request (Part Three)

The complete script can be downloaded here
In the last part of this series, we’ll create ’showdetails.js’. This will turn our web page into a AJAX-powered web page!
In the first part we created the XMLHttpRequest Object. Now we need to create an instance of it.

Create Your First AJAX Request (Part Two)

An example of what you’re creating can be seen here.
The complete script can be downloaded here
In the first part, we created a function, getRequestObj(), that we can now use to initiate a new XMLHttpRequest object.