public interface HTMLOptionsCollection extends HTMLCollection
| Modifier and Type | Method and Description |
|---|---|
void |
add(HTMLElement element) |
void |
add(HTMLElement element,
HTMLElement before) |
void |
add(HTMLElement element,
int before) |
int |
getLength() |
int |
getSelectedIndex() |
Object |
namedItem(String name) |
void |
remove(int index) |
void |
setLength(int length) |
void |
setSelectedIndex(int selectedIndex) |
itemint getLength()
getLength in interface HTMLCollectionvoid setLength(int length)
Object namedItem(String name)
namedItem in interface HTMLCollectionvoid add(HTMLElement element)
void add(HTMLElement element, HTMLElement before)
void add(HTMLElement element, int before)
void remove(int index)
int getSelectedIndex()
void setSelectedIndex(int selectedIndex)
Copyright © 2016. All Rights Reserved.