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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access