type (select element)
all
alt
ch
dir
id
min
rel
top
url
URL
urn
TOC
Collapse the table of content
Expand the table of content

type property

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

Syntax

JavaScript

p = object.type

 

Property values

Type: String

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.

Standards information

See also

select

 

 

Show:
© 2016 Microsoft