3.2.0

Combo - Weird Behaviour!

I'm using a AW Combo on my page and when using the onControlTextChanged function it performes the action 3 times! I've defined the Combo as follows:

var obj = new AW.UI.Combo;

obj.setId("ComboBox");
obj.setControlText("Control Text");
obj.setItemText(arrData);
obj.setItemValue(arrValues);
obj.setItemCount(arrData.length);
obj.getContent("box/text").setAttribute("readonly", true);

obj.onControlTextChanged = function()
{
alert("Here") //done 3 times!
};

Anyone else had any similar problems?
Wallace R
November 14,
Never mind, I fixed it by using onCurrentItemChanged
Wallace R
November 15,

This topic is archived.

See also:


Back to support forum