O'Reilly logo

Beginning jQuery by Jack Franklin

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 8

image

Ajax with jQuery

Ajax, which stands for Asynchronous JavaScript and XML, lets us fetch and send data to and from a server asynchronously, in the background, without interfering with the user’s experience.

In the last chapter, you saw examples of asynchronous behavior. While animations were running, you were able to execute other code, such as changing the element’s background color, and the user (in this case, you) was perfectly able to use the page while the animations were taking place. Nothing seemed different, other than the animation. Fetching data with Ajax is much like that. As a user, you’re unaware of what’s happening until ...

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