[Chapter 21] Reference: Element.defaultChecked
Author: David Flanagan
Date: Fri Aug 29 11:15:29 1997

#

| Chapter 21 JavaScript Reference |

# Element.defaultChecked Property

## Name

Element.defaultChecked Property--- a Checkbox or Radio element's default status

## Availability

Navigator 2.0, Internet Explorer 3.0

## Synopsis

    element.defaultChecked

## Description

The `defaultChecked` property is a read-only Boolean value that specifies whether a Checkbox or Radio element is checked by default. This property has no meaning for other form elements. This property corresponds to the `CHECKED` attribute in the HTML `<INPUT>` tag that created the form element. If `CHECKED` was present then `defaultChecked` will be `true`. Otherwise, `defaultChecked` will be `false`.

The `defaultChecked` property is used to restore the Checkbox or Radio element to its default value when the form is reset.

## See Also

"Checkbox", "Element", "Radio"

Element.click() |  | Element.defaultValue