title: jQuery detect which element a onClick occurs to
body: <p>I'm attempting to activate table row checkbox when the user clicks within a table row. Each row has a checkbox.</p>
  
  <p>I have the following code which works fine as a standard version.</p>
  
  <pre><code>$('.scrollTable tr').click(function(event) {
      if(event.target.type !== 'checkbox') {
          $(':checkbox', this).trigger('click');
      }
  });
  </code></pre>
  
  <p>The data in the table I'm attempting to add this to has various types i.e. there are images which create popups, links which create tooltips and links which redirect to another page. The problem I'm having is that in clicking a link, image etc the corresponding checkbox is ticked.</p>
  
  <p>Any ideas?</p>