Name
cancelBubble — NN n/a IE 4 DOM n/a
Synopsis
Read/Write
Specifies whether the event should propagate (bubble) up the element
container hierarchy. You usually only need to set this property to
true
to override the default behavior and prevent
the event from going any further.
Example
window.event.cancelBubble = true
Value
Boolean: true
| false
.
Default
false
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.