type Property

Internet Development Index

Retrieves the type of select control based on the value of the MULTIPLE attribute.

Syntax

HTMLN/A
Scripting[ sType = ] SELECT.type

Possible Values

sTypeString that receives one of the following values.
select-multipleThe MULTIPLE attribute is true. Multiple OPTION elements can be selected.
select-oneDefault. 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 Non-Microsoft link.

Applies To

SELECT