Right click on the table row not working with click function
<p>I have a table and this code to find the a href and make a whole row clickable:</p>

<pre><code>$(document).ready( function() {

        $('table tr').click(function() {
            var href = $(this).find("a").attr("href");
            if(href) {
                window.location = href;
            }
});
</code></pre>

<p>However, there is one problem and that's <strong>my right click do not offer me "Open link in  new tab" option</strong> and window etc. stuff like on a normal a href link. </p>

<p>Using divs instead of table is not an option.</p>

<p>How to fix it? </p>

<p>Is there any jQuery plugin that ca nfix it for me?</p>

<p><em>My table looks like this (it's much bigger with more td's but just for illustration):</em></p>

<pre><code>&lt;table&gt;
    &lt;tr&gt;
         &lt;td&gt;
             &lt;a href="http://example.com"&gt;Some link&lt;/a&gt;
             &lt;span&gt;Bla bla bla&lt;/span&gt;
         &lt;/td&gt;
         &lt;td&gt;
             &lt;span&gt;Some text&lt;/span&gt;
         &lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
         &lt;td&gt;
             &lt;a href="http://someotherlink.com"&gt;Some link&lt;/a&gt;
             &lt;span&gt;Other text&lt;/span&gt;
         &lt;/td&gt;
         &lt;td&gt;
             &lt;span&gt;Something else&lt;/span&gt;
         &lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
         ...
    &lt;/tr&gt;
&lt;/table&gt;
</code></pre>

<p><strong>EDIT: I need to grab the a href value automatically like in my current code:
$(this).find("a").attr("href");</strong></p>

<p><strong>EDIT 2: I need to be the whole tr clickable (as a block). which is possible using the method above. However, it is not possible to click on the row and select "Open link in a new tab". This option is available only when I hover over the a href. But I need it to be also on the whole row. So, if the user wants to open multiple new tabs using middle mouse button or right click and selecting "Open in a new tab" from the context menu, he can do it. Right now it is not possible.</strong></p>
