public interface HTMLOptionsCollection extends HTMLCollection
| Modifier and Type | Method and Description |
|---|---|
void |
add(HTMLOptionElement element) |
void |
add(HTMLOptionElement element,
HTMLElement before) |
void |
add(HTMLOptionElement element,
int before) |
int |
getSelectedIndex() |
HTMLOptionElement |
item(int index) |
HTMLOptionElement |
namedItem(String name) |
void |
remove(int index) |
void |
set(int index,
HTMLOptionElement element) |
void |
setSelectedIndex(int selectedIndex) |
get, getLengthHTMLOptionElement item(int index)
item in interface HTMLCollectionHTMLOptionElement namedItem(String name)
namedItem in interface HTMLCollectionvoid set(int index,
HTMLOptionElement element)
void add(HTMLOptionElement element, HTMLElement before)
void add(HTMLOptionElement element, int before)
void add(HTMLOptionElement element)
void remove(int index)
int getSelectedIndex()
void setSelectedIndex(int selectedIndex)
Copyright © 2015. All rights reserved.