JavaScript DOM Event method: stopPropagation()
[this page | pdf | back links]
The stopPropagation() method (when applied
to Event
objects in the JavaScript
DOM) prevents
further propagation of the event in the capturing and bubbling phases of an
event.
Note: ‘bubbling’ triggers
additional event listeners (if appropriately defined) found by following the
event target’s parent chain upwards (up to and including the overall document),
see W3C specifications for more details.
It
has the following syntax with no parameters. It does not return a value.
event.stopPropagation()
NAVIGATION LINKS
Contents | Prev | Next | JavaScript DOM (and BOM)