Javascript open link in new tab not same tab : <p>I have some code to make a table row clickable which works as it should.</p>

<p>The only problem is it opens the URL in the same tab. Is there a way I can change this to open the URL in a new tab?</p>

<pre><code>&lt;tr class='clickable-row' data-href='http://www.google.com'&gt;

&lt;script&gt;
jQuery(document).ready(function($) {
    $(".clickable-row").click(function() {
        window.location = $(this).data("href"));
    });
});
&lt;/script&gt;
</code></pre>
