[jquery-dev] Re: Event delegation and cancelling click events

2008-12-30 Thread Kurt Mackey
://dev.jquery.com/changeset/6013 --John On Tue, Dec 23, 2008 at 12:46 AM, John Resig wrote: > Yeah, I agree that this is not ideal - thanks for spotting it, I'll > look in to it. > > --John > > > > On Mon, Dec 22, 2008 at 4:48 PM, Kurt Mackey wrote: >> >> The eve

[jquery-dev] Event delegation and cancelling click events

2008-12-22 Thread Kurt Mackey
The event delegation stuff in jQuery seems extra tasty, particularly when you have to deal with ghetto ad code written in the previous century. However, there's one bit of behavior that doesn't act how I'd expect it to. If you bind a function to click events and return false, it doesn't cancel