optgroup | NN 6 IE 5(Mac)/6)Win) DOM 1 |
The optgroup object reflects the optgroup element, which must be nested inside a select element and surround option elements. See the optgroup element in Chapter 8 for browser support details of this element. The disabled property (described among the shared properties earlier in this chapter) is available for this object, and it influences the disabled status of nested option elements. |
|
HTML Equivalent | |
<optgroup> |
|
Object Model Reference | |
[window.]document.getElementById("elementID")
|
|
Object-Specific Properties | |
label |
|
Object-Specific Methods | |
None. |
|
Object-Specific Event Handler Properties | |
None. |
label | NN 6 IE 5(Mac)/6(Win) DOM 1 |
Read/Write | |
Reflects the label attribute of the optgroup element. |
|
Value | |
String. |
|
Default | |
None. |