onItemClicked issue
If i run the code below and use the new AW.UI.CheckedList, i do no see the alert from the "onItemClicked" handler. It works fine when new AW.UI.List is used.
Am i missing something?..
Thanks,
Ivan
var obj = new AW.UI.List;
//var obj = new AW.UI.CheckedList;
obj.setItemText(["Home", "Favorites", "Font size", "Search"]);
obj.setItemImage(["home", "favorites", "fontsize", "search"]);
obj.setItemCount(4);
obj.onItemClicked = function(event, index){
alert(this.getItemText(index));
}
document.write(obj);
Am i missing something?..
Thanks,
Ivan
var obj = new AW.UI.List;
//var obj = new AW.UI.CheckedList;
obj.setItemText(["Home", "Favorites", "Font size", "Search"]);
obj.setItemImage(["home", "favorites", "fontsize", "search"]);
obj.setItemCount(4);
obj.onItemClicked = function(event, index){
alert(this.getItemText(index));
}
document.write(obj);
January 5,