Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Sets or retrieves the value of the object.
Syntax
HTML <ELEMENT VALUE = sValue ... > Scripting object.value [ = sValue ]
Possible Values
sValue String specifying the value of the control. This property is read/write with a default value of on for the INPUT_checkbox and INPUT_radio objects, Submit Query for the INPUT_submit object, and Reset for the INPUT_reset object. All other objects have no default value.
Remarks
The purpose of the string depends on the type of control.
The VALUE attribute of the PARAM object specifies a value passed to an APPLET, EMBED, or OBJECT object.
Example
The following example sets the value for each option to an integer string (for example, a part number).
Sample Code
<SELECT> <OPTION VALUE="123">Item One <OPTION VALUE="456">Item Two <OPTION VALUE="789">Item Three </SELECT>
Applies To
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.