JavaScript: The Definitive Guide

Previous Chapter 21
JavaScript Reference
Next
 

Radio.value Property

Name

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

Availability

Navigator 2.0, Internet Explorer 3.0

Synopsis

radio.value

Description

value is a read/write string property of the Radio object. It specifies the text that is passed to the web server if the radio button is checked when the form is submitted. The initial value of value is specified by the VALUE attribute of the Radio's HTML <INPUT> tag. If the form will be submitted to a server (as opposed to simply used by JavaScript on the client side) then each radio button in a group must have a distinct value.

Usage

Note that the value field does not specify whether or not the radio button is currently selected; the checked property specifies the current state of the Radio object.

See Also

"Radio"


Previous Home Next
Radio.type Book Index Reset

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