OptionElement class

OptionElement class

The OptionElement represents a wrapper that is associated with the HTMLOptionElement

Inheritance: OptionElementFormElement

The OptionElement type exposes the following members:

Properties

PropertyDescription
element_typeGets the type of the element.
nameGets or sets the name of the form element.
idGets or sets the identifier of the form element.
valueThe current form control value. See the value attribute definition in HTML 4.01.
disabledThe control is unavailable in this context. See the disabled attribute definition in HTML 4.01.
labelOption label for use in hierarchical menus. See the label attribute definition in HTML 4.01.
selectedRepresents the current state of the corresponding form control, in an interactive user agent. Changing this attribute changes the state of the form control, but does not change the value of the HTML selected attribute of the element.
textThis attribute represents the text content of this node and its descendants.
html_element

See Also