I have a simple Event

var func_over = function OverPartner(id)
{
alert();
}

and I add this event to en element

item.addEvents({

            'mouseenter': func_over.pass([item.id])
        });


after that i want to remove this event from the element, then i wrote:
it.removeEvent('mouseenter', func_over);

but the Event still work, (the remove event fail)

How can i do it? or what the mistake in the above code?

Reply via email to