Chapter 8. Talk to the server with Ajax

This chapter covers

  • A brief overview of Ajax
  • Loading preformatted HTML from the server
  • Making general GET and POST requests
  • Exerting fine-grained control over requests
  • Setting default Ajax properties
  • Handling Ajax events

It can be successfully argued that no single technology shift has transformed the landscape of the web more than Ajax. The ability to make asynchronous requests back to the server without the need to reload entire pages has enabled a whole new set of user-interaction paradigms and made DOM-scripted applications possible.

Ajax is a less recent addition to the web toolbox than many people may realize. In 1998, Microsoft introduced the ability to perform asynchronous requests under ...

Get jQuery in Action, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.