JavaScript » Radio » value


It is this property that is returned to the server when a radio button is selected and the form submitted. It is not displayed and so is not necessarily the same as any text that may appear alongside the radio button. The value property is tainted by default and reflects the VALUE attribute of the HTML code. Where no value is specified, the value property is the string "on".