public interface HTMLOptionsCollection extends HTMLCollection
Modifier and Type | Method and Description |
---|---|
int |
getLength()
As optionally allowed by the spec, Mozilla allows this property to be set, either removing options at the end when using a shorter length, or adding blank options at the end when setting a longer length.
|
int |
getSelectedIndex() |
void |
remove(int index) |
void |
setLength(int arg) |
void |
setSelectedIndex(int arg) |
item, namedItem
int getLength()
getLength
in interface HTMLCollection
void setLength(int arg)
int getSelectedIndex()
void setSelectedIndex(int arg)
void remove(int index)
Copyright © 2018. All rights reserved.