:: Forum >>
mootools and activewidgets
hello. i have asked this q before, but didn't get answer. why wudn't this code work when mootools api is added. the code works fine when mootools link is commented out. it seems like mootools messes the array part:
var obj = new AW.UI.Combo;
obj.setId("test");
obj.setTabIndex(0);
obj.setControlPosition(120, 120);
obj.setControlSize(80, 20);
obj.setStyle("z-index", "10");
obj.setItemText(["Airport Transfer Cape Town","Airport Transfer Johannesburg","All","Cape Town","Durban","Eastgate","Johannesburg","Port Elizabeth","Windhoek"]);
obj.setItemCount(9);
obj.setItemValue(["7","9","8","1","4","6","2","3","5"]);
obj.getContent('box/text').setAttribute('readonly', true);
document.write(obj);
t4
Wednesday, April 28, 2010
This topic is archived.
Back to support forum
Forum search