Chapter 8. The XMLHTTPRequest Object

In this lesson you will learn how to create an instance of the XMLHTTPRequest object regardless of which browser your user may have. The object’s properties and methods will be introduced.

More About JavaScript Objects

Lesson 7, “Anatomy of an Ajax Application,” introduced the building blocks of an Ajax application and discussed how these pieces fit together.

This lesson examines the object at the heart of every Ajax application—the XMLHTTPRequest object.



You briefly met objects in Lesson 4, “Client-Side Coding Using JavaScript,” when we discussed the document object associated with a web page. The XMLHTTPRequest ...

Get SAMS Teach Yourself Ajax in 10 Minutes now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.