WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIDOMHTMLOptionElement

IID:a6cf9092-15b3-11d2-932e-00805f8add32
Inherits From:nsIDOMHTMLElement
Status:FROZEN

The nsIDOMHTMLOptionElement interface is the interface to a [X]HTML option element.

For more information on this interface please see http://www.w3.org/TR/DOM-Level-2-HTML/


Properties

PRBool defaultSelected

PRBool disabled

readonly nsIDOMHTMLFormElement form

readonly PRInt32 index

DOMString label

PRBool selected

readonly DOMString text

DOMString value


References

This interface is passed as an argument to the following methods:

nsIDOMNSHTMLOptionCollection.setOption, nsISelectElement.getOptionIndex

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com