Name
DISABLED — NN n/a IE 4 HTML 4
Synopsis
DISABLED
Optional
The presence of this attribute disables the entire
SELECT
element and its nested
OPTION
elements. The element receives no events
when it is disabled.
Example
<SELECT NAME="chapters" DISABLED> <OPTION VALUE="chap1.html">Chapter 1 <OPTION VALUE="chap2.html">Chapter 2 <OPTION VALUE="chap3.html">Chapter 3 <OPTION VALUE="chap4.html">Chapter 4 </SELECT>
Value
The presence of this attribute sets its value to
true
.
Default
false
Object Model Reference
- IE
[window.]document.formName.selectName.disabled
[window.]document.forms[i].elements[i].disabled
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.