js onclick call without parent code example
Example: onclick stoppropagation
<span onclick="event.stopPropagation(); alert('you clicked inside the header');">something inside the header</span>
<span onclick="event.stopPropagation(); alert('you clicked inside the header');">something inside the header</span>