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>

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy