I'm attempting to make an entire Div clickable and have it open a new tab. I've managed to make the div clickable and direct the user to a new link with the following code:
$(document).ready(function(){
$('.wish-list').click(function(){
location.href = 'https://link.com'
})
});
While this successfully redirects the current page to the specified link, I'm looking to achieve the same result but have it open in a new tab.
Any help would be greatly appreciated. Thank you!