Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML DOM Select type Property

Select type Property

Select Object Reference Select object


Definition and Usage

The type property returns the form type of the drop-down list. For a drop-down list, the type is always "select-one" or "select-multiple".

Syntax

selectObject.type


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the type property.


Example

Example

The following example returns the form type of the drop-down list:

Runoob Tutorial(runoob.com)

Try it »


Select Object Reference Select object