Skip to content

Instantly share code, notes, and snippets.

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