Name
MULTIPLE — NN all IE all HTML all
Synopsis
MULTIPLE
Optional
The presence of the MULTIPLE attribute instructs
the browser to render the SELECT element as a list
box and to allow users to make multiple selections from the list of
options. By default, the SIZE attribute is set to
the number of nested OPTION elements, but the
value may be overridden with the SIZE attribute
setting. Users can select contiguous items by Shift-clicking on the first and last items of
the group. To make discontiguous selections, Windows users must
Ctrl-click on each item; Mac users
must Command-click on each item. The
MULTIPLE attribute has no effect when
SIZE is set to 1 to display a pop-up menu.
Example
<SELECT NAME="equipment" MULTIPLE> <OPTION VALUE="monitor">Video monitor <OPTION VALUE="modem">Modem <OPTION VALUE="printer">Printer ... </SELECT>
Value
The presence of this attribute sets its value to
true.
Default
false
Object Model Reference
- NN
[window.]document.formName.selectName.type
[window.]document.forms[i].elements[i].type
- IE
[window.]document.formName.selectName.multiple
[window.]document.forms[i].elements[i].multiple
[window.]document.formName.selectName.type
[window.]document.forms[i].elements[i].type
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access