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.

Note

Note

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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.