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 HTMLOptionsCollection by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
Variables
Methods
add (element:EitherType<OptionElement, OptGroupElement>, ?before:EitherType<Element, Int>):Void
Throws:
null | DOMError |
---|