© Jack Franklin, Russ Ferguson 2017

Jack Franklin and Russ Ferguson, Beginning jQuery, https://doi.org/10.1007/978-1-4842-3027-5_8

8. Ajax with jQuery

Jack Franklin and Russ Ferguson2

(1)Aviation House, GDS, 6th Floor Aviation House, London, UK

(2)Apt 129, Ocean, New Jersey, USA

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 Chapter 7, 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 ...

Get Beginning jQuery: From the Basics of jQuery to Writing your Own Plug-ins now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.