Description

Updates attribute values.

Function syntax

ColdFusion.ProgressBar.update(progressBarId,config)

See also

ColdFusion.ProgressBar.hideColdFusion.ProgressBar.show

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

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