Last active
August 29, 2015 14:18
-
-
Save mrroot5/4bb3d5dddfa943f8a92f to your computer and use it in GitHub Desktop.
Abre un pop-up, es bloqueado por navegadores como Chrome
From http://stackoverflow.com/questions/5141910/javascript-location-href-to-open-in-new-window-tab
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.open( | |
'https://mydomain.com/index.php/?param1=X¶m2=Y', | |
'_blank' // <- This is what makes it open in a new window. | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment