O'Reilly logo

PHP jQuery Cookbook by Vijay Joshi

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

Informing a user while an AJAX request is in progress

As AJAX applications do not have full page reloads, if an AJAX request is pending to the server, and the user can't see any notification, they may get confused.

It is, therefore, necessary that a user must be provided some kind of information while an AJAX request is in process. This is an important point worth noting while creating AJAX applications that should not be ignored.

In this recipe, you will learn how users can be notified that an AJAX request is taking place and how to provide the feedback of the progress to the user.

Getting ready

Create a folder named Recipe2 inside the Chapter6 directory. The other thing that you need to do is visit either of these websites http://ajaxload.info/ ...

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