Java Reference
In-Depth Information
HTMLOptionCollection
The HTMLOptionCollection object was introduced in DOM Level 2. It contains a list of <option/>
elements.
prOperty NaMe
DesCrIptION
INtrODuCeD
Gets the number of <option/> elements in the list.
Level 2
length
Methods
MethOD NaMe
DesCrIptION
INtrODuCeD
Retrieves the <option/> element at the specified
index.
Level 2
item(index)
Retrieves the <option/> element by the
specified name. It first attempts to find an
<option/> element with the specified id . If none
can be found, it looks for <option/> elements
with the specified name attribute.
Level 2
namedItem(name)
HTMLparagraphelement
Represents the <p/> element.
Properties
prOperty NaMe
DesCrIptION
INtrODuCeD
Deprecated. Gets or sets the value of the
align attribute.
Level 1
align
HTMLSelectelement
Represents the <select/> element.
Properties
prOperty NaMe
DesCrIptION
INtrODuCeD
Gets or sets the value of the disabled attribute.
Level 1
disabled
Gets the HTMLFormElement object containing the
<select/> element. Returns null if the element
is not inside a form.
Level 1
form
continues
Search WWH ::




Custom Search