I'm trying to link a div by javascript.
<div id="link-div">Click!</div>
$('#link-div').click(function () {
window.open('http://www.google.de', '_blank') ;
});
If someone clicks on the #link-div
the site should redirect to Google. The script works fine but the firefox popup blocker prevents the redirect. Is there an other way to link the div without a popup issue?