|
| |
SetValue() Function
Sets the value of a given control. Syntax:
Parameters:
id - Control Identifier to assign value to value - Value to set.
Remarks:
- For combo box and edit controls, the SetValue() function updates the control text.
- For radio buttons and checkboxes, changng the value will toggle the button state.
- Changing the control value through SetValue(), does not trigger the onchange event.
- The value can contain variables such as %URL%.
- CR/LF and TAB characters can be included as \n, \r and \t
- To change the text of a HTML browser control without changing its value, use the SetText() function instead.
See Also:
|