This feature has been removed from the Web. Though some browsers may still support it, it is in the process of being dropped. Do not use it in old or new projects. Pages or Web apps using it may break at any time.
event.cancelBubble = bool; var bool = event.cancelBubble;
bool is the boolean value of
cancelBubble is set to
false by default. This allows the event to bubble up the DOM, if it is a bubbleable event. Setting this property to
true stops the event from bubbling up the DOM. Not all events are allowed to bubble up the DOM.
Use event.stopPropagation() instead of this non-standard method.