I have an element that looks like this:
There is an onclick event on the section area and one on the cross.
<div onclick="sectionClicked()"> 
     .....
   <div class="section_delete" onclick="deleteSection()">
       <img src=".../delete-section.png" />
   </div>
</div>
CSS to position the cross
.section_delete {
    display: block;
    position: absolute;
    top: -10px;
    right: -5px;
}
However, when I click on the cross, both deleteSection and sectionClicked functions are fired.
How do I prevent the sectionClicked function from being fired when then cross is clicked?
What is very strange is that if I click on the very outside of the cross, so that I am certainly not clicking on the section area, the same thing is happening.

 
     
     
    