O'Reilly logo

The Dojo Toolkit: Visual QuickStart Guide by Steven Holzner

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

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 ...

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