title: Anchor plus href and onclick event (tracking)
body: <p>i got the following anchors to go to the target site and to track the user for stats:</p>
  
  <pre><code>&lt;a href="http://target.tld" target="_blank" onclick="$('&lt;img&gt;&lt;/img&gt;').attr({src: 'stats.php?my_param=value'}); return true;"&gt;Foo&lt;/a&gt;
  
  &lt;a href="http://target.tld" target="_self" onclick="$('&lt;img&gt;&lt;/img&gt;').attr({src: 'stats.php?my_param=value'}); return true;"&gt;Foo&lt;/a&gt;
  </code></pre>
  
  <p>The first one generates a Status of <em>200 Ok</em> for the img (_blank), but the status of the second one (_self) is <em>(canceled)</em>.</p>
  
  <p>Can someone tell me why, and is there a better way?</p>
  
  <p>Thanks!</p>