Print

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");
Czy artykuł był pomocny?
0 na 5 gwiazdek
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
How Can We Improve This Article?