home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


JavaScript: The Definitive Guide

Previous Chapter 21
JavaScript Reference
Next
 

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.


Previous Home Next
Option Book Index Option.index

HTML: The Definitive Guide CGI Programming JavaScript: The Definitive Guide Programming Perl WebMaster in a Nutshell