Created
July 15, 2016 22:37
-
-
Save y-temp4/443003a388ea98e59283e4c0d8171b18 to your computer and use it in GitHub Desktop.
JavaScriptで指定したURLにページ遷移する方法 ref: http://qiita.com/y-temp4/items/94727de9f2029a357e09
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
location.href = 'http://example.com'; |
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
location.assign('http://example.com'); |
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
location.replace('http://example.com'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment