dom prevent event bubbling code example Example: javascript event stoppropagation event.stopPropagation();