SyntaxFix
Write A Post
Hire A Developer
Questions
This works in all browsers:
window.location.href = '...';
If you wanted to change the page without it reflecting in the browser back history, you can do:
window.location.replace('...');