nsIDOMHTMLOptionsCollection

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

This interface is trying to follow the DOM Level 2 HTML specification:
http://www.w3.org/TR/DOM-Level-2-HTML/

with changes from the work-in-progress WHATWG HTML specification:
http://www.whatwg.org/specs/web-apps/current-work/

Methods

item(index)

namedItem(name)

setOption(index, option)

add(option, before)

remove(index)

Attributes

length

selectedIndex

select