pp108 : setLabel()

setLabel()


This method sets the text that is passed as a parameter to the label object that is associated with the control. It is available for all controls that have a label.

Syntax

Script

ControlID.setLabel(sText)


Parameters

Parameter

Description

sText

The value that needs to be set as a label for the control.


Applies to


Input, Password, Output, Textarea, Check, Radio, Select, List