event .stoppropagation

JavaScript
event.stopPropagation();
Source

Also in JavaScript: