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

Ajax is a big topic in the computing world—and it’s a big topic in Dojo, too. Dojo is emerging as the premiere JavaScript library for Ajax.

Ajax allows browsers to fetch data from the server without a page refresh, so you don’t get any of that flash and flicker so common in the browsing experience. Instead, Ajaxenabled Web pages look and feel much more like desktop applications: you click a button, and the data you want appears somewhere in the page. The whole page stays the same except for that data.

Using Ajax, for example, you can buy an item without the need for five or six page refreshes—you might just drag the item to a shopping cart icon, and behind the scenes Ajax would contact the server, get the price, display a checkout ...

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