stop(e) in js code example
Example 1: onclick stoppropagation
<span onclick="event.stopPropagation(); alert('you clicked inside the header');">something inside the header</span>
Example 2: javascript do not submit form
alert("hello world");
alert("it is a test");