index property
Sets or retrieves the ordinal position of an option in a list box.
Syntax
| JavaScript | |
|---|
Property values
Type: Integer
the ordinal position.
Standards information
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
Remarks
You can assign a value to this property without generating a syntax error, but the value is not stored.
See also
Show: