target="_blank" is not working with firefox <a href="login.php" target="_blank" onclick="javascript:window.close();" > <img src="images/loginto-apply-but.gif" border="0"/> </a>
<a href="login.php" target="_blank" onclick="javascript:window.close();" > <img src="images/loginto-apply-but.gif" border="0"/> </a>
Use below instead.
<a href="#" onclick="window.open('login.php','_blank');window.close();return false"> <img src="images/loginto-apply-but.gif" border="0"/> </a>
2.1m questions
2.1m answers
60 comments
57.0k users