Chapter 12. Returning Data as Text

In this lesson you will learn some more techniques for using the responseText property to add functionality to Ajax applications.

Getting More from the responseText Property

The lessons of Part II, “Introducing Ajax,” discussed the individual components that make Ajax work, culminating in a complete Ajax application. In Part III, “More Complex Ajax Technologies,” each lesson examines how you can extend what you know to develop more sophisticated Ajax applications.

For this lesson, we’ll look a little more closely at the responseText property of the XMLHTTPRequest object and see how we can give our application some extra functionality via its use.

As you have seen in previous lessons, the XMLHTTPRequest object provides ...

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.