[Chapter 21] Reference: Option.value
Author: David Flanagan
Date: Fri Aug 29 11:18:46 1997

#

| Chapter 21 JavaScript Reference |

# Option.value Property

## Name

Option.value Property---value returned when form is submitted

## Availability

Navigator 2.0, Internet Explorer 3.0

## Synopsis

    option.value

## Description

`value` is a read/write string property of the Option object. It specifies the text that is passed to the web server if the `option` is selected when the form is submitted. The initial value of `value` is specified by the `VALUE` attribute of the `<OPTION>` tag. If the form will be submitted to a server (as opposed to simply used by JavaScript on the client side) then each Option object within a Select object should have a distinct `value`.

## See Also

"Option", "Select"

Option.text |  | Packages