How can I write the _blank statement in this location.href call?
<div onclick="location.href='http://www.test.com';" style="display:block; height:40px; width:100px; cursor:pointer;"></div>
Please note: I need to hold the div and treat it as a href container.
When someone clicks, he should open a new browser window, not a popup.
source
share