Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

RadioNodeList

我們的志工尚未將此文章翻譯為 正體中文 (繁體) 版本。加入我們,幫忙翻譯!

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
WHATWG HTML Living Standard
The definition of 'RadioNodeList' in that specification.
Living Standard Initial definition

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support 34 33 (33) (Yes) (Yes) 10
Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support ? 33.0 (33) ? ? 9

See also

文件標籤與貢獻者

 此頁面的貢獻者: morcerf, Sebastianz, fscholz, teoli, DirkjanOchtman
 最近更新: morcerf,