|
DescriptionLets
you manually update the status and message of the progress bar.
Function syntaxColdFusion.ProgressBar.updatestatus(progressBarId, status, message)
HistoryColdFusion
9: Added this function
Parameters
Parameter
|
Description
|
progressBarId
|
Name of the progress bar object. This must
be a valid ColdFusion identifier.
|
message
|
Text to be displayed in the progress bar.
|
status
|
Progress status.
|
ReturnsThis
function does not return a value.
UsageThis
function helps you to manually set the message and status in the
progress bar. For instance, in the case of file upload, you can
manually control the progress using this function.
The following
snippet illustrates how to use the function:
<cfform>
<cfprogressbar name="pBar" width="500"/>
<cfinput type="button" name="pBtn" onClick=" ColdFusion.ProgressBar.updateStatus('pBar',0.5,'50%')">
</cfform>
|
|
|