Re: Question about event bubbling in FF versus IE and Chrome?

On 2015-01-27 1:05 AM, Bryan Garaventa wrote:
> use event.preventDefault() to cancel further processing,

I'm don't know if the following explains the browser differences your 
are seeing, but ...

Event.preventDefault() does not cancel *all* further processing.  It 
cancels the default action associated with the event.  It does not stop 
the event from bubbling.

In order to stop bubbling, call event.stopPropagation().  See: 
http://api.jquery.com/event.stopPropagation/

-- 
;;;;joseph.

'Array(16).join("wat" - 1) + " Batman!"'
            - G. Bernhardt -

Received on Tuesday, 27 January 2015 19:22:51 UTC