stop mouse click event bubbling 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>