Gets or sets the text contained within the option element.

[VBScript]
Public Property Text As String
[JScript]
public function get Text() : String;
public function set Text(String);

Property Value

A string representing the text contained within the option element.

See Also

HTMLOptionElement Object | HTMLOptionElement Members | DOM Namespace