JavaScript: The Definitive Guide

Previous Chapter 21
JavaScript Reference
Next
 

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"


Previous Home Next
Option.text Book Index Packages

HTML: The Definitive Guide CGI Programming JavaScript: The Definitive Guide Programming Perl WebMaster in a Nutshell