javascript get stopped event code example
Example 1: javascript event stoppropagation
event.stopPropagation();
Example 2: html onclick stop propagation
// "event" is not universally supported, so instead grab the first
// argument passed through the onclick handler and call
// "stopPropagation()" on it
<div onclick="(arguments[0] ? arguments[0].stopPropagation() : false);">...</div>