I want to stop propagate event from parent div to child div in my html. Here a simple code what I\'m trying to do:
div
Check target for match clicked object. Try this code in beginning of click event handler.
if( event.target !== this ) { return; } //...do stuff..