我们的志愿者还没有将这篇文章翻译为 中文 (简体)加入我们帮助完成翻译
您也可以阅读此文章的English (US)版。

The RadioNodeList interface represents a collection of elements in a <form> or a <fieldset> element.

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.

Methods

The RadioNodeList interface inherits the methods of NodeList.

Specifications

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

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidiOS SafariSamsung 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 ?
valueChrome 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 ?

Legend

Full support  
Full support
Compatibility unknown  
Compatibility unknown

See also

文档标签和贡献者

此页面的贡献者: fscholz, morcerf, Sebastianz, teoli, DirkjanOchtman
最后编辑者: fscholz,