:: Forum >>

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

// make the combo read-only so user can't fill in random text
objCombo.getContent('box/text').setAttribute('readonly', true);

Please reply ASAP.
Wednesday, June 17, 2009
The AW.UI.Combo class is a standalone control. If you need a grid cell template - use AW.Templates.Combo.
Alex (ActiveWidgets)
Thursday, June 18, 2009

This topic is archived.

Back to support forum

Forum search