Code problem (as)... i guess

I am using the following code. Where **list **is an instance of a ListBox.


function displayDetails(c)
{
   trace("I am in displaydetails");
}
list.setChangeHandler("displayDetails");

The call to displayDetails function is NEVER done.
Why?
Any ideas, hints?
PLEASE help.:hangover:
Leo.

Are you sure that setChangeHandler is a function of a list component?
What effect are you trying to create exactly?

Hi thereā€¦
Thanks for the reply.
The effect is that, for every change on the List Box, a certain function wil be called.
I tried to upload the file, but is too big, can i send it to u?
Thanks.
Cheers.
Leo.
:ne: