how to prevent bubbling in javascript code example Example: event.stoppropagation event.stopPropagation();