HTMLOptionsCollection

@native @JSGlobal @JSType

The HTMLOptionsCollection interface represents a collection of

class Object
trait Any
class Object
trait Matchable
class Any

Value members

Inherited methods

@JSBracketAccess
def apply(index: Int): HTMLOptionElement
Inherited from:
DOMList
def hasOwnProperty(v: String): Boolean
Inherited from:
Object
def isPrototypeOf(v: Object): Boolean
Inherited from:
Object
def item(index: Int): HTMLOptionElement
Inherited from:
HTMLCollection
def length: Int
Inherited from:
DOMList
def namedItem(name: String): HTMLOptionElement

Returns the specific node whose ID or, as a fallback, name matches the string specified by name. Matching by name is only done as a last resort, only in HTML, and only if the referenced element supports the name attribute. Returns null if no node exists by the given name.

Returns the specific node whose ID or, as a fallback, name matches the string specified by name. Matching by name is only done as a last resort, only in HTML, and only if the referenced element supports the name attribute. Returns null if no node exists by the given name.

Inherited from:
HTMLCollection
def propertyIsEnumerable(v: String): Boolean
Inherited from:
Object
def toLocaleString(): String
Inherited from:
Object
def valueOf(): Any
Inherited from:
Object