event.stopPropagation()Returns:
Description: Prevents the event from bubbling up the DOM tree, preventing any parent handlers from being notified of the event.
-
version added: 1.0event.stopPropagation()
- This method does not accept any arguments.
Description: Prevents the event from bubbling up the DOM tree, preventing any parent handlers from being notified of the event.