Open all links with jQuery .load
<pre><code>&lt;html&gt;
&lt;head&gt;
&lt;title&gt;&lt;/title&gt;
&lt;script type="text/Javascript" src="includes/scripts/jquery-1.7.2.min.js"&gt;&lt;/script&gt;
&lt;script type="text/Javascript"&gt;
$('a').click(function() {
  window.open($(this).attr('href') );
});
&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;div id="content"&gt;
&lt;a href="somepage.html"&gt;Somepage&lt;/a&gt;
&lt;br /&gt;
&lt;a href="somepage.html"&gt;Somepage&lt;/a&gt;
&lt;br /&gt;
&lt;a href="somepage.html"&gt;Somepage&lt;/a&gt;
&lt;br /&gt;
&lt;a href="somepage.html"&gt;Somepage&lt;/a&gt;
&lt;br /&gt;
&lt;a href="somepage.html"&gt;Somepage&lt;/a&gt;
&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>I want to open all links found in the page with jQuery .load().<br />
But my code doesn't seem to work.<br />
Any ideas?</p>
