getText

returns text of currently selected option

string getText();
stringtext value of control

Example

var value = $$("select").getValue();
var text = $$("select").getText();

See also
Back to top