stopPropagation is stopping all events code example Example: event .stoppropagation event.stopPropagation();