«
XUL Reference home
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.