About 51 results
Open links in new tab
  1. What is event bubbling and capturing? - Stack Overflow

    Jan 6, 2011 · Event bubbling and capturing are two ways of event propagation in the HTML DOM API, when an event occurs in an element inside another element, and both elements have registered a …

  2. How to prevent event bubbling in javascript - Stack Overflow

    Jan 18, 2018 · How to prevent event bubbling in javascript Ask Question Asked 8 years, 1 month ago Modified 2 years, 6 months ago

  3. How to stop event bubbling on checkbox click - Stack Overflow

    However, I can't figure out how to stop the event bubbling without causing the default click behaviour (checkbox becoming checked/unchecked) to not run. Both of the following stop the event bubbling …

  4. javascript - What's the difference between event.stopPropagation and ...

    For event bubbling: Any event handler may choose to prevent further event propagation by calling the stopPropagation method of the Event interface. If any EventListener calls this method, all additional …

  5. javascript - How to stop events bubbling in jQuery? - Stack Overflow

    How to stop events bubbling in jQuery? [duplicate] Asked 15 years, 2 months ago Modified 5 years, 11 months ago Viewed 69k times

  6. Bubbling and capturing with addEventListener - Stack Overflow

    Jan 28, 2012 · I recently discovered the difference between Bubbling and Capturing on DOM events, using javascript. Now I understand how it's supposed to work, but I've found a weird situation and I …

  7. javascript - How to stop event propagation with inline onclick ...

    onclick="var event = arguments[0] || window.event; [...]" However, generally speaking you should be avoiding inline event handlers if you need to to anything complicated like stopping propagation. …

  8. javascript - Event Capturing vs Event Bubbling - Stack Overflow

    You, the web developer, can choose whether to register an event handler in the capturing or in the bubbling phase. This is done through the addEventListener() method explained on the Advanced …

  9. Preventing event bubbling (for javascript onclick events)

    Apr 8, 2013 · Preventing event bubbling (for javascript onclick events) Asked 12 years, 10 months ago Modified 12 years, 10 months ago Viewed 5k times

  10. javascript - What is DOM Event delegation? - Stack Overflow

    Nov 6, 2009 · Event delegation makes use of two often overlooked features of JavaScript events: event bubbling and the target element.When an event is triggered on an element, for example a mouse …