Option.text (Property)

The text string that the user sees in the popup menu.

Availability:

DOM level - 1
JavaScript - 1.0
JScript - 1.0
Internet Explorer - 3.02
Netscape - 2.0
Netscape Enterprise Server version - 2.0
Opera browser - 3.0
Property/method value type:String primitive
JavaScript syntax:-myOption.text

Option items have a textual value enclosed between the opening and closing tags. This is a means of accessing that text without needing to resort to complex innerText or innerHTML tricks.

Property attributes:

ReadOnly.