Chapter 10. Advanced Ajax

We got started with Ajax in the previous chapter, but for a lot of people, Ajax is the main reason they turn to Dojo, so we’ll delve into this topic further here.

In this chapter, you’ll learn more about handling the errors that can crop up when you work with Ajax. You’ll also learn how to chain callback functions (which are called when your downloaded data is ready), avoid having your browser cache a Web page whose data you’re trying to download and whose data has changed (when a browser caches a Web page, it gives you the same version of the Web page no matter how many times you ask—and that’s a serious problem in Ajax), handle Ajax timeouts, and more.

In other words, when you finish this chapter, you’ll be an Ajax expert ...

Get The Dojo Toolkit: Visual QuickStart Guide 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.