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

HTML DOM Select multiple Property

Select multiple Property

Select Object Reference Select object


Definition and Usage

The multiple property sets or returns whether multiple options can be selected.

Syntax

Set the multiple property:

selectObject.multiple=true|false

Return the multiple property:

selectObject.multiple


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the multiple property


Example

Example

Select multiple options in the drop-down list:

Runoob Tutorial(runoob.com)

Hold down the Ctrl key to select multiple options

Try it »


Select Object Reference Select object