Retrieves the type of select control based on the value of the MULTIPLE attribute.
Syntax
HTML | N/A |
---|
Scripting | [ sType = ] SELECT.type |
---|
Possible Values
sType | String that
receives one of the following values.select-multiple | The MULTIPLE attribute is true. Multiple OPTION elements can be selected. | select-one | Default. The MULTIPLE attribute is false. Only one OPTION element can be selected. |
|
The property is read-only.
The property has a default value of
select-one.
Standards Information
This property is defined in
World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 .
Applies To