RadioNodeList

The RadioNodeList interface represents a collection of elements in a <form> returned by a call to HTMLFormControlsCollection.namedItem().

NodeList RadioNodeList

Instance properties

The RadioNodeList interface inherits the properties of NodeList.

RadioNodeList.value

If the underlying element collection contains radio buttons, the 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.

Instance methods

The RadioNodeList interface inherits the methods of NodeList.

Specifications

Specification
HTML
# radionodelist

Browser compatibility

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
RadioNodeList
value

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support

See also