Help Center

Local Navigation

Object: HTMLOptGroupElement

Availability

BlackBerry® Device Software version 4.6 or later

Extends

HTMLElement

The HTMLOptGroupElement object represents an <optgroup> element in an HTML document.

The <optgroup> element defines a logical group in a drop-down list of elements.

HTMLOptGroupElement properties

Property name

Type

Description

Status

Support level

Availability

disabled

boolean

When true, indicates that the option group is disabled.

writable

DOM 2 HTML

4.6 or later

label

DOMString

Specifies a label for the option group.

writable

DOM 2 HTML

4.6 or later


Was this information helpful? Send us your comments.