O'Reilly logo

jQuery UI Cookbook by Adam Boduch

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

Creating progressindicator widgets

The progressbar widget is intended to show the progress of some process. The end goal is the max option specified when creating the widget, which defaults to 100. If we know the size of the data we are processing ahead of time, we would use the max option to reflect this end goal. However, we are sometimes faced with the scenario where we have some processing to do on the client; or, we are waiting for some backend process to complete and send a response back to the client. For example, the user has initiated a backend task using the API, and they're now waiting for a response. The bottom line is, we want to illustrate to the user that progress is being made, and we just don't know how much progress has been ...

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