July 1998
Intermediate to advanced
1456 pages
65h 5m
English
text — NN 2 IE 3 DOM 1
Read/Write
The text associated with the OPTION element. This
text is between the start and end tags and is what appears in the
SELECT element on screen. A hidden value
associated with the list item can be stored, retrieved, and changed
via the value property.
var list = document.forms[0].selectList var listItemText = list.options[list.selectedIndex].text
String.
None.
Read now
Unlock full access