ColdFusion.ProgressBar.hide

Description

Hides the progress bar if it is displayed.

Function syntax

ColdFusion.ProgressBar.hide(progressBarId)

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

This function lets you hide the progress bar if it is displayed.

You display the progressbar using the function ColdFusion.ProgressBar.show or by setting the attribute autodisplay to true in the tag cfprogressbar.

The following example shows how to use this function:

<cfprogressbar name="pBar" autodisplay="true"> 
<cfinput type="button" 
    onClick="ColdFusion.ProgressBar.hide('pBar')">