I have some code to make a table row clickable which works as it should.
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?
<tr class='clickable-row' data-href='http://www.google.com'>
<script>
jQuery(document).ready(function($) {
$(".clickable-row").click(function() {
window.location = $(this).data("href"));
});
});
</script>