UpdateProgress

Functions updates progress bar in browser by specified step and with specified text.

Syntax

UpdateProgress();
UpdateProgress(5);
UpdateProgress(1,"text");

Function arguments

  • step – (Decimal) [Optional] By how many steps increase the counter, default 1
  • text – (String) [Optional] Additional text that will be displayed next to a counter, ex name of the step, default empty

Return value

This function returns String.
Returns true.

Examples

Example 1:
Update progress bar by 1

UpdateProgress();

Example 2:
Update progress bar by 5.

UpdateProgress(5);

Example 3:
Update progress bar by 1 and dispaly Creating account text next to a counter.

UpdateProgress(1,"Creating account");
Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.