RadioNodeList
RadioNodeList
インターフェイスは、<form>
または <fieldset>
要素内にあるラジオボタン要素の集合を表します。
インスタンスプロパティ
RadioNodeList
インターフェイスには NodeList
から継承したプロパティがあります。
RadioNodeList.value
-
基盤となる要素の集合にラジオボタンが含まれている場合、
value
プロパティはチェック状態のラジオボタンを表します。value
プロパティを取得すると、現在checked
状態になっているラジオボタンのvalue
が文字列として返されます。集合内にラジオボタンが含まれていなかったり、集合内のラジオボタンにchecked
状態のものがなかったりした場合は、空文字列が返されます。value
プロパティを設定すると、value
プロパティが新しい値と等しい最初のラジオボタン入力要素がchecked
状態に設定されます。
インスタンスメソッド
RadioNodeList
インターフェイスには NodeList
から継承したメソッドがあります。
仕様書
Specification |
---|
HTML # radionodelist |
ブラウザーの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
RadioNodeList | ||||||||||||
value |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.