type property
Retrieves the type of select control based on the value of the MULTIPLE attribute.
Syntax
| JavaScript | |
|---|
Property values
Type: String
-
The MULTIPLE attribute is true. Multiple OPTION elements can be selected.
-
Default. The MULTIPLE attribute is false. Only one OPTION element can be selected.
Standards information
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
See also
Show: