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?
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,