O'Reilly logo

Mastering jQuery by Alex Libby

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 5. Integrating AJAX

A question – what do Deferreds, Promises, and /ˈeɪdʒæks/ have in common?

The answer is simple – for at least two of them; they are utilities that work with AJAX; the third is actually the International Phonetic spelling of AJAX.

Throughout the history of the Internet, we as end users were forced to endure page refreshes – you had to force a page refresh to show new content. Not so now – we can refresh content without needing to clear the page, using the power of AJAX, but not without its issues. Enter Deferreds and Promises – not for beginners, but a useful tool once you understand how it works!

Over the next few pages, we'll look at a number of topics relating to the use of AJAX with jQuery. These would include:

  • Detailing ...

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