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");