Created
September 13, 2018 00:48
-
-
Save intelguasoft/2e07b98f8833ea0ee8af394bce3aab48 to your computer and use it in GitHub Desktop.
JavaScript: Open in new tab JavaScript
This file contains hidden or 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
function OpenInNewTab(url) { | |
var win = window.open(url, '_blank'); | |
win.focus(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment