combo box selection

could you please tell me that getting selected value in the combo box



for example the options are

one

two

three



user selected three in the combo box





var z=dhtmlXComboFromSelect(“searchPortStatus”); this the combo box creation code i used



i wnat to know the selected value could you please help me in this situation

You can use

var value = z.getSelectedValue();

also, there is a onChange event triggered when value changed

z.attachEvent(“onChange”,function(){
//any custom code
});