getValue

gets the ID of a selected item in the option list

string|number getValue();
string|numberID of a selected option

Example

//master is a control with a popup list of options
var suggest = master.getPopup();
var sel = master.setValue();

Details

The method doesn't get value of the master control (text, combo, multicombo, richselect, multiselect), it gets the ID of a highlighted (selected) option in the suggest list only.

To get the value of the master control, apply the the getValue method to it.

See also
Back to top