title: JQuery's .click triggering on child elements
body: <p>I have a page with multiples divs like this</p>
  
  <pre><code>&lt;div class="bigbox"&gt;
      &lt;a href="http://www.somestuff.com"&gt;some stuff&lt;/a&gt;
      more elements
  &lt;/div&gt;
  </code></pre>
  
  <p>I'm trying to make each div open the link inside it when clicked and tried like that:</p>
  
  <pre><code>$('div.bigbox').each(function(){
      $(this).click(function(){
          window.open($(this).find('a').attr("href"));
  })})
  </code></pre>
  
  <p>But when clicking on the actual link, it will open it twice. Any suggestion to not have .click trigger when clicking on the link inside my div?</p>