title: Get click event from div that is on top of another div
body: <p>Here is what the UI piece looks like</p>
  
  <p><a href="https://i.stack.imgur.com/vZkkL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vZkkL.png" alt="enter image description here"></a></p>
  
  <p>I had the trashcan working fine on click but that was when I didn't have to have a click event on the blue div. Now that I also have a click event on the blue div, when I click the trashcan, I am getting the blue div object instead of the trashcan object. I tried some z-index tricks, but that didn't work.</p>
  
  <p>Any help appreciated.</p>
  
  <pre><code>&lt;td id="ea-13" class="activityTableCell"&gt;
      &lt;div style="width:90px; margin-left:0px" class="eventTimeSpan"&gt;&lt;/div&gt;
      &lt;div id="NewActivityContainer-13" class="activityContainerExisting"&gt;
          &lt;div data-uid="57386445" class="label label-sm label-info newActivityClass point" style="width:59px; top:-1px; left:30px; z-index:4000" title="Mobile Game Party"&gt;
          Mobile Game Party 
              &lt;div data-isactivity="1" data-packageid="" data-elid="57386445" class="xRemove" style="left:46px;z-index:8000"&gt;&lt;i class="fa fa-trash font-red" title="Remove"&gt;&lt;/i&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/td&gt;
  </code></pre>
  
  <p>Click Code:</p>
  
  <pre><code>$(document).on("click", ".newActivityClass", function(){
      console.log(this);
      ...snip...
  }
  
  $(document).on("click", ".xRemove,.aRemove", function(){
  ...snip...
  }
  </code></pre>