Created
October 22, 2016 22:45
-
-
Save claudiohilario/8a5bba406fbf8fdef18a011164249f36 to your computer and use it in GitHub Desktop.
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
//Opção 1 | |
window.location.href = "http://www.exemplo.com"; | |
//Opção 2 | |
window.location.assign("http://www.exemplo.com"); | |
//Opção 3 | |
window.open("http://www.exemplo.com"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment