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>
相关问题
- SQLite Storage in Firefox 3.0 +
- Writing a custom protocol handler portable on Fire
- setInterval doesn't slow down on inactive tab
- CSS grid behaviour different in Chrome and Firefox
- How does this JavaScript open Windows Settings in
相关文章
- Firefox remembering radio buttons incorrectly
- CSS Firefox box-shadow and outline
- XML Parsing Error in Firefox developer console
- firefox ondrop event.dataTransfer is null after up
- CORS request did not succeed on Firefox but works
- Firebug console error HTTP 407 Proxy Authenticatio
- Firefox duplicate cookie (Firefox bug?)
- Swift 4 - Setting a minimum deployment target
Use below instead.
This is not working because you're calling a Javascript event to close the current window and after launching the "_blank" to acces to your link. You have to create a Js method to launch your link and after close the current window.