how to prevent the onclick of the underlying div 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>