Full disclosure: I wrote this open source plugin
You can try the jQuery-Mobile-Progress-Bar-with-Percentage plugin.
JQuery-Mobile-Progress-Bar-with-Percentage (Tolito Progress Bar) is a jQuery Mobile plugin that creates, manages, starts, stops, resumes and explicitly sets the progress bar. In addition, the constructor provides options for setting an external run theme theme and an internal fill theme based on standard themes for jQuery Mobile to show a percent completion counter to determine if the progress bar has a normal or mini size to determine the interval that determines the frequency filling to set the maximum value of the external panel and set the initial value of the internal panel of filling. The JavaScript prototype chaining method was used to activate a chain of individual method calls, where each call is made in one instance.
Edition: The new version 1.0.3 contains functionality to stop and / or resume the progress bar and explicitly set the value of the progress bar . This is appropriate for cases where it is necessary to execute some AJAX requests, and in each successful response, the value of the progress bar should be explicitly set to represent the actual status of the execution. In addition, the event is fired when the progress bar is complete.
The JavaScript prototype chaining method was used to activate a chain of individual method calls, where each call is made in one instance.
The following code snippet configures, builds, and initializes the progress bar:
TolitoProgressBar('progressbar') .setOuterTheme('b') .setInnerTheme('e') .isMini(true) .setMax(100) .setStartFrom(0) .setInterval(10) .showCounter(true) .logOptions() .build() .run();
Example with a mini progress bar:

An example with a normal progress bar inside a dialog box:

An overlay example that includes a normal progress bar:

source share