To redirect to another page, you can use:
window.location = "http://www.yoururl.com";
More Related Contents:
- How do I redirect to another webpage?
- Any Javascript GURU here to make this Script ? If Anchor is Changed Redirect the Page
- How to manage a redirect request after a jQuery Ajax call
- How to set a cookie for another domain
- No-Javascript Detection Script + Redirect
- Page redirect with successful Ajax request
- Using $window or $location to Redirect in AngularJS
- Change URL and redirect using jQuery
- Redirecting to a relative URL in JavaScript
- A good way to redirect with a POST request?
- Javascript Redirect with Google Analytics
- How to redirect if javaScript is disabled?
- How to redirect the user to another page after login using JavaScript Fetch API?
- Go to URL after OK button if alert is pressed
- phone number validation in js [closed]
- jQuery.parseJSON single quote vs double quote
- Best Practice: Access form elements by HTML id or name attribute?
- JavaScript loop through JSON array?
- How to display an image stored as byte array in HTML/JavaScript?
- window.open with headers
- Node.js support for => (arrow function)
- SyntaxError: expected expression, got ‘
- How to make a radio button unchecked by clicking it?
- Embedding SVG into ReactJS
- How can I change the current URL?
- Simple ajax form using javascript no jQuery
- A plain JavaScript way to decode HTML entities, works on both browsers and Node
- Deobfuscating Javascript [closed]
- compare strings and get end difference
- Getting a sticky header to “push up”, like in Instagram’s iPhone app using CSS and jQuery