Jquery Open in new Tab (_blank)
<p>I've setup some Jquery based off other StackOverflow questions/answers. The purpose of this script is that it makes an entire div a link based on any a href tag that is inside that div.</p>

<p>This works fine however I need to set it to _blank to open in a new tab. I've tried the below with no luck.</p>

<pre><code>$(document).ready(function(){
$(".product-item").click(function(){
$(this).target = "_blank";
window.location=$(this).find("a").attr("href"); 
return false;     
});
});
</code></pre>

<p>EDIT</p>

<p>Thanks for the help but none of these answers actually work. If anyone can paste the full code that actually works, rather than little snippets without testing if it works. Thanks.</p>

<p>EDIT 2</p>

<p>Thanks to <strong>kristinalim</strong>, for providing a complete working solution.</p>
