event stopPropagation stopImmediatePropagation code example Example: event .stoppropagation event.stopPropagation();