Name
OPTION — NN 2 IE 3 DOM 1
Synopsis
The OPTION object
reflects the OPTION element, which must be nested
inside a SELECT element. References to
OPTION objects most often use its parent
SELECT object, with the OPTION
object treated as one member of an array of options belonging to that
SELECT object.
HTML Equivalent
<OPTION>
Object Model Reference
- NN
[window.]document.formName.selectName.options[i][window.]document.forms[i].elements[i].options[i]- IE
[window.]document.formName.selectName.options[i][window.]document.forms[i].elements[i].options[i][window.]document.all.elementID
Properties
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Methods
|
|
|
|
|
|
|
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access