item method
The HTMLSelectElement.item()
method returns the
Element corresponding to the HTMLOptionElement whose
position in the options list corresponds to the index given in the
parameter, or
null
if there are none.
In JavaScript, using the array bracket syntax with an unsigned long
,
like
selectElt[index]
is equivalent to
selectElt.namedItem(index)
.
Implementation
external HTMLOptionElement? item(int index);