Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by prabhu on May 16, 2008 04:24
open dhtmlx forum
trying to fetch value from combo box,but its throwing error

Hello, Plz see the below code. Problem is : I'm trying to fetch value from combo box,but its throwing error..I'm using this method customCombo.getSelectedValue() also i'm trying to disable the combo when the checkbox is checked,but not able to disable it..Pls help. customCombo.disable(true);

[ huge chunk of code truncated ]

Answer posted by Support on May 16, 2008 05:48

a) In your code you are converting selectbox to the combo, but in same time try to access the select object by its ID, instead of
           applicationId.getSelectedValue
you need to use
           customCombo.getSelectedValue

b) please be sure that related part of logic really executed, the call of customCombo.disable(true);, the functionality itsefl works correctly

c) it may not cause direct error but while including js files dhtmlxcommon.js must goes first.