SetValue Method
The SetValue method sets the value in the DOM instance of control. If there are multiple DOM instances for the control, the index argument is used to used to determine the instance to which the value should be set.Customized plug-in wrappers must use this index to find associated DOM instances and call appropriate value modification APIs in the DOM to reflect the customization.
It uses the following syntax:
SetValue(value, index)
where:
value identifies the value of the control DOM instance.
index is a numerical value representing the row number of the DOM element of the control that is required.