3.2.0

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
March 11,
ok I got what I need.

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

This topic is archived.

See also:


Back to support forum