window.location.href/replace/reload () — page Jump + replace + refresh
1. window.location.href= “URL”: change the URL address
2. window.location.replace (“URL”); replace the address with URL. This method replaces the items currently cached in the history (client) by specifying the URL, for example: three pages a, B, C. when the user visits page a, it jumps to page B. If you jump to the B page, how to trigger it to jump to the C page window.location.replace (“URL”); at the beginning of & lt; script & gt.
3. window.location.reload (): force refresh page, request again from server!
Similar Posts:
- The difference between Top.location and window.location.href
- About window.history.back() backward problem
- window.location And window.open The difference between
- What does HTTP status code 304 mean
- Component is missing template or render function [How to Solve]
- [Solved] Vue router common problems (push error, push duplicate route refresh)
- Reloading the current routing page using UI router in angularjs
- java.net.ProtocolE xception:Serverredirectedtoomanytimes (20)
- AWStats Vs Webalizer Vs Google Analytics Visito…
- [Solved] Uncaught SyntaxError: Unexpected end of JSON input at JSON.parse