Name
multiple — NN n/a IE 4 DOM 1
Synopsis
Read/Write
Whether the browser should render the SELECT
element as a list box and allow users to make multiple selections
from the list of options. By default the size
property is set to the number of nested OPTION
elements, but the value may be overridden with the
size
property 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
property has no effect when
size
is set to 1 to display a pop-up menu.
Example
if (document.entryForm.list3.multiple) { ... }
Value
Boolean value: true
| false
.
Default
false
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.