JavaScript: The Definitive Guide

Previous Chapter 21
JavaScript Reference

Radio.value Property


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


Navigator 2.0, Internet Explorer 3.0




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.


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


Previous Home Next
Radio.type Book Index Reset

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