[Chapter 21] Reference: Option.defaultSelected
Author: David Flanagan
Date: Fri Aug 29 11:18:42 1997

#

| Chapter 21 JavaScript Reference |

# Option.defaultSelected Property

## Name

Option.defaultSelected Property---specifies whether an object is selected by default

## Availability

Navigator 2.0, Internet Explorer 3.0

## Synopsis

    option.defaultSelected

## Description

The `defaultSelected` property is a read-only Boolean that specifies whether the Option `option` is initially selected when the Select object that contains it is created. The Reset object uses this property to reset a Select object to its initial state, and you can use it to achieve the same effect in your code.

## See Also

"Option", "Select"

Option |  | Option.index