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.
checked
Type: boolean
Indicates whether the element is checked or not.
Use hasAttribute() to determine whether this attribute is set instead of getAttribute().
For buttons, the type attribute must be set to checkbox or radio for this attribute to have any effect.

Document Tags and Contributors

 Contributors to this page: Sheppy, Enn, Marsf, Brettz9, BenoitL, Techrazy, Ptak82, Pmash, Okome, Mgjbot, Dria
 Last updated by: Sheppy,