jQuery - opening all links on a page
<p>I'm trying to learn jQuery, to make up for my anemic javascript skills.</p>

<p>As a test project, I have a page full of links, and I want to have a button on the page open all the links in new tabs.  The links all have target="_blank" attributes.</p>

<p>I'm using this</p>

<pre><code>  $('button').click(function() {
    $('a').click();
  );}
</code></pre>

<p>I've tested the selector syntax by modifying the css of the links, so I'm sure that is ok.  What do I need to change in order to get the link to open?</p>
