Select.multiple (Property)

A flag indicating whether a select block can have multiple or single items only selected.

Availability:

DOM level - 1
JavaScript - 1.5
JScript - 3.0
Internet Explorer - 4.0
Netscape - 6.0
Property/method value type:Boolean primitive
JavaScript syntax:-mySelect.multiple
HTML syntax:<SELECT MULTIPLE>

If this flag is set to the Boolean true value, then several items in the list of options can be selected simultaneously. They will be passed back in the form data as a comma separated list when the form is sumitted.

See also:Select.options[], Select.selectedIndex, Select.size