O'Reilly logo

Ajax Starter Kit by Phil Ballard

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

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 object, after it has been created, becomes a further such object within the page’s object hierarchy ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required