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.

Revision 643905 of RadioNodeList

  • Revision slug: Web/API/RadioNodeList
  • Revision title: RadioNodeList
  • Revision id: 643905
  • Created:
  • Creator: DirkjanOchtman
  • Is current revision? No
  • Comment Add tags

Revision Content

{{ DomRef() }}

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

Properties

{{ domxref("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.

Specifications

Specification Status
{{SpecName('HTML WHATWG', '#radionodelist', 'RadioNodeList')}} {{Spec2('HTML WHATWG')}}

 

Revision Source

<p>{{ DomRef() }}</p>
<p>The <strong><code>RadioNodeList</code></strong> interface represents a collection of elements in a form or fieldset element.</p>
<h2 id="Properties">Properties</h2>
<dl>
 <dt>
  {{ domxref("RadioNodeList.value") }}</dt>
 <dd>
  If the underlying element collection contains radio buttons, the <code>value</code> property represents the checked radio button. On retrieving the <code>value</code> property, the <code>value</code> of the currently <code>checked</code> 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 <code>checked</code> state, the empty string is returned. On setting the <code>value</code> property, the first radio button input element whose <code>value</code> property is equal to the new value will be set to <code>checked</code>.</dd>
</dl>
<h2 id="Specifications">Specifications</h2>
<table class="standard-table" height="57" width="1246">
 <thead>
  <tr>
   <th scope="col">Specification</th>
   <th scope="col">Status</th>
  </tr>
  <tr>
   <th scope="col">{{SpecName('HTML WHATWG', '#radionodelist', 'RadioNodeList')}}</th>
   <th scope="col">{{Spec2('HTML WHATWG')}}</th>
  </tr>
 </thead>
 <tbody>
 </tbody>
</table>
<p>&nbsp;</p>
Revert to this revision