If the underlying element collection contains radio buttons, the RadioNodeList.value property represents the checked radio button. On retrieving the value property, the value of the currently checked radio button is returned as a string. If the collection does not contain any radio buttons or none of the radio buttons in the collection is in checked state, the empty string is returned. On setting the value property, the first radio button input element whose value property is equal to the new value will be set to checked.


value = radioNodeList.value;
radioNodeList.value = string;



  <label><input type="radio" name="color" value="blue">Blue</label>
  <label><input type="radio" name="color" value="red">Red</label>


// Get the form
const form = document.forms[0];

// Get the form's radio buttons
const radios = form.elements['color'];

// Choose the "red" option
radios.value = 'red';



Specification Status Comments
HTML Living Standard
The definition of 'RadioNodeList.value' in that specification.
Living Standard Initial definition.

Browser compatibility

Update compatibility data on GitHub
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
Basic supportChrome Full support 34Edge ? Firefox Full support 33IE Full support YesOpera Full support YesSafari Full support 10WebView Android ? Chrome Android ? Edge Mobile ? Firefox Android Full support 33Opera Android ? Safari iOS Full support 9Samsung Internet Android ?


Full support  
Full support
Compatibility unknown  
Compatibility unknown

See also

Document Tags and Contributors

Contributors to this page: mfluehr, sideshowbarker, fscholz, Yelmor, teoli, DirkjanOchtman
Last updated by: mfluehr,