haXe API Documentation
Back | Index
extern class js.html.HTMLOptionsCollection
extends HTMLCollection
Available in js
HTMLOptionsCollection is an interface representing a collection of HTML option elements (in document order) and offers methods and properties for traversing the list as well as optionally altering its items. This type is returned solely by the "options" property of select.

Documentation for this class was provided by MDN.
var selectedIndex : Int
function add(option : OptionElement, ?index : Int) : Void
function remove(index : Int) : Void
Back | Index