How to disable an ActiveWidgets Combo Box
Hi,
I am new to ActiveWidgets i have created an combo as,
var myDataDept=['a','b','c'];
var cboUsrDpt = new AW.UI.Combo;
cboUsrDpt.setSize(55,22);
cboUsrDpt.setId("hidcboDept");
cboUsrDpt.setItemText(myDataDept);
cboUsrDpt.setAttribute("disabled", null);
cboUsrDpt.getContent("box/text").setAttribute("maxlength",5);
cboUsrDpt.setItemCount(myDataDept==null ? 0 : myDataDept.length);
The default value of the combo box should be 'b'
The problem is i am three radio buttons in my JSP page when i click the first button the combo box allow the user to select the options in it and also editable , but when i click the remaining two buttons the combo box should not allow the user to select as well as not to editable.
Its urgent. Please reply to me. Thanks in Advance.
I am new to ActiveWidgets i have created an combo as,
var myDataDept=['a','b','c'];
var cboUsrDpt = new AW.UI.Combo;
cboUsrDpt.setSize(55,22);
cboUsrDpt.setId("hidcboDept");
cboUsrDpt.setItemText(myDataDept);
cboUsrDpt.setAttribute("disabled", null);
cboUsrDpt.getContent("box/text").setAttribute("maxlength",5);
cboUsrDpt.setItemCount(myDataDept==null ? 0 : myDataDept.length);
The default value of the combo box should be 'b'
The problem is i am three radio buttons in my JSP page when i click the first button the combo box allow the user to select the options in it and also editable , but when i click the remaining two buttons the combo box should not allow the user to select as well as not to editable.
Its urgent. Please reply to me. Thanks in Advance.
Ponnudurai
April 11,