SelectedValue - property of the PmgWCombo object
Description:
Hidden value associated with selected visible text.
Syntax:
String SelectedValue
Note:
Property access
for read and write. The preset value of this property is defined in the "
Selected value" configurator of this object.
This property is also functional in Web panels.
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oCombo = pMe.Items("/WCombo");
var val = oCombo.SelectedValue; //reading
oCombo.SelectedValue = "value1"; //writing
Dim oCombo, val
Set oCombo = pMe.Items("/WCombo")
val = oCombo.SelectedValue 'reading
oCombo.SelectedValue = "value1" 'writing