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
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