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.

nsIDOMHTMLOptionsCollection

IID:bce0213c-f70f-488f-b93f-688acca55d63
Inherits From:nsISupports
Status:FROZEN

The nsIDOMHTMLOptionsCollection interface is the interface to a collection of [X]HTML option elements.

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


Properties

PRUint32 length


Methods

nsIDOMNode item ( PRUint32 index ) nsIDOMNode namedItem ( DOMString name )

nsIDOMNode item ( PRUint32 index )

Arguments:
index

nsIDOMNode namedItem ( DOMString name )

Arguments:
name

References

This interface is the type of the following properties:

nsIDOMHTMLSelectElement.options

Reference documentation is generated from Mozilla's source.