ColdFusion.ProgressBar.reset

Description

Resets the progress status and messages.

Function syntax

ColdFusion.ProgressBar.reset(progressBarId)

See also

ColdFusion.ProgressBar.startColdFusion.ProgressBar.stop

History

ColdFusion 9: Added this function

Parameters

Parameter

Description

progressBarId

Name of the progress bar object. This must be a valid ColdFusion identifier.

Returns

This function does not return a value.

Usage

Resets the progress on a progress bar as shown in the following example:

<cfform>
<cfprogressbar name="pBar" width="500"/>
<cfinput type="button" name="pBtn" onClick="ColdFusion.ProgressBar.reset('pBar')">
</cfform>

Get help faster and easier

New user?