|
|
A selectable choice. See the OPTION element definition in HTML 4.0.
HTMLOptionElement ()
| HTMLOptionElement |
HTMLOptionElement (const HTMLOptionElement &other)
| HTMLOptionElement |
HTMLOptionElement (const Node &other)
| HTMLOptionElement |
HTMLOptionElement (HTMLOptionElementImpl *impl)
| HTMLOptionElement |
[protected]
HTMLOptionElement & operator = (const HTMLOptionElement &other)
| operator = |
Reimplemented from HTMLElement.
HTMLOptionElement & operator = (const Node &other)
| operator = |
Reimplemented from HTMLElement.
~HTMLOptionElement ()
| ~HTMLOptionElement |
HTMLFormElement form ()
| form |
[const]
Returns the FORM
element containing this
control. Returns null if this control is not within the context
of a form.
bool defaultSelected ()
| defaultSelected |
[const]
Stores the initial value of the selected
attribute.
void setDefaultSelected ( bool )
| setDefaultSelected |
see defaultSelected
DOMString text ()
| text |
[const]
The text contained within the option element.
long index ()
| index |
[const]
The index of this OPTION
in its parent
SELECT
.
Reimplemented from Node.
void setIndex ( long )
| setIndex |
see index
This function is obsolete - the index property is actually supposed to be read-only (http://www.w3.org/DOM/updates/REC-DOM-Level-1-19981001-errata.html)
bool disabled ()
| disabled |
[const]
The control is unavailable in this context. See the disabled attribute definition in HTML 4.0.
void setDisabled ( bool )
| setDisabled |
see disabled
DOMString label ()
| label |
[const]
Option label for use in hierarchical menus. See the label attribute definition in HTML 4.0.
void setLabel ( const DOMString & )
| setLabel |
see label
bool selected ()
| selected |
[const]
Means that this option is initially selected. See the selected attribute definition in HTML 4.0.
void setSelected ( bool )
| setSelected |
see selected
DOMString value ()
| value |
[const]
The current form control value. See the value attribute definition in HTML 4.0.
void setValue ( const DOMString & )
| setValue |
see value
Generated by: dfaure on faure on Tue Apr 16 08:50:42 2002, using kdoc 2.0a53. |