ColdFusion.ProgressBar.update

Description

Updates attribute values.

Function syntax

ColdFusion.ProgressBar.update(progressBarId,config)

History

ColdFusion 9: Added this function

Parameters

Parameter

Description

progressBarId

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

configObject

An object containing configuration parameters, interval, duration, and oncomplete.

Returns

This function does not return a value.

Usage

Updates any of the attribute values duration , interval, or oncomplete as shown in the following example:

<cfprogressbar name="pBar" autodisplay="false"> 
<cfinput type="button" 
    onClick="ColdFusion.ProgressBar.update('pBar', {interval:6000, duration:10000,         oncomplete:newoncomplete})">