Combo box not working in IE
Hi i have used below code but unable to select value from combo.
Any one please help in this regard.
var objCombo = new AW.UI.Combo;
objCombo.setId ('objCombo');
// arrays for Text and Values if using AJAX
// var comboValues = new Array ();
// var comboText = new Array ();
//
// Fill in arrays for dynamic use
// static definitions
var comboValues = [10, 20, 30];
var comboText = ['String 10', 'String 20', 'String 30'];
// initial text
objCombo.setControlText("default text");
// initial value of combo
var comboValue = 0;
// define original dropdown text strings
objCombo.setItemText(comboText);
objCombo.setItemCount(comboText.length);
// make the combo read-only so user can't fill in random text
objCombo.getContent('box/text').setAttribute('readonly', true);
obj.setCellTemplate(objCombo,0);
Please reply ASAP.
Any one please help in this regard.
var objCombo = new AW.UI.Combo;
objCombo.setId ('objCombo');
// arrays for Text and Values if using AJAX
// var comboValues = new Array ();
// var comboText = new Array ();
//
// Fill in arrays for dynamic use
// static definitions
var comboValues = [10, 20, 30];
var comboText = ['String 10', 'String 20', 'String 30'];
// initial text
objCombo.setControlText("default text");
// initial value of combo
var comboValue = 0;
// define original dropdown text strings
objCombo.setItemText(comboText);
objCombo.setItemCount(comboText.length);
// make the combo read-only so user can't fill in random text
objCombo.getContent('box/text').setAttribute('readonly', true);
obj.setCellTemplate(objCombo,0);
Please reply ASAP.
prashanth
June 17,