JavaScript: The Definitive Guide

Previous Chapter 21
JavaScript Reference
Next
 

Select.type Property

Name

Select.type Property---type of form element

Availability

Navigator 3.0

Synopsis

select.type

Description

type is a read-only string property shared by all form elements; it specifies the type of the element. The Select object is unusual in that there are two possible values for the type property. If the Select object allows only a single selection (i.e., if the MULTIPLE attribute does not appear in the object's HTML definition), the value of the type property is "select-one". If the MULTIPLE attribute does appear, the value of the type attribute is "select-multiple".

See Element.type for more information.

See Also

"Element.type", "Select"


Previous Home Next
Select.selectedIndex Book Index self

HTML: The Definitive Guide CGI Programming JavaScript: The Definitive Guide Programming Perl WebMaster in a Nutshell
This HTML Help has been published using the chm2web software.