stoppropagation w3schools code example Example: javascript event stoppropagation event.stopPropagation();