I'm not understanding what you want / expect to happen. Click one of he divs and the event fires. Click the link, but not a div, and the event fires.
> I want the event to be fired as if the link > was clicked. It does. Perhaps you're looking for "this"? http://mootools.net/shell/29NC5/1/ On Aug 11, 2010, at 9:02 AM, batman42ca wrote: > I've been searching around for an answer but no luck so far. > > I have a link that contains various other elements. I create an event > on the link, but clicking on the elements inside the link triggers the > event, not on the link, but on the inner element I clicked. I guess > that's event delegation in action but regardless of what element I > clicked inside the link, I want the event to be fired as if the link > was clicked. > > Here's the code: http://mootools.net/shell/29NC5/ > > I would have thought that unless I do something to prevent it, the > event should bubble up to the parent link. I'm not seeing that happen.
