:: Forum >>

Click on list handler basics?

Hi,

I created a list control (AW.UI.List).

How can I display in a message box the value of the item the user clicked on?

For example, my list just has "apples", "oranges", "grapes" in it, the user clicks on "oranges", I'd like to popup a message box saying "oranges".

Thanks
markw
Saturday, March 11, 2006
ok I got what I need.

obj.onItemClicked = function(event, index) {
alert("Item " + index + " clicked") ;
};
markw
Sunday, March 12, 2006

This topic is archived.


Back to support forum

Forum search