What do you mean by “make sure“?
alert('message');
window.location = "https://stackoverflow.com/some/url";
redirects user after they click OK in the alert window.
More Related Contents:
- How do I redirect to another webpage?
- Javascript – string + var alert [closed]
- Change the look of alert box in JavaScript [duplicate]
- 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
- How do I redirect with JavaScript? [duplicate]
- How to edit a JavaScript alert box title?
- Why is console.log() considered better than alert()?
- Javascript close alert box
- No-Javascript Detection Script + Redirect
- Twitter Bootstrap alert message close and open again
- 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 do I recover the “text” from the page originating the alert, esp **after** the human user has *clicked* [dismiss] on the page’s **alert**?
- Node.js Alert Causes Crash
- Can I prevent an alert() with a Google Chrome Extension
- combo box is getting vanished when an alert is coming
- Detect if an alert or confirm is displayed on a page
- How to redirect the user to another page after login using JavaScript Fetch API?
- How to override the alert function with a userscript?
- Why “Prevent this page from creating additional dialogs” appears in the alert box?
- JavaScript alert not working in Firefox 6
- Javascript and AJAX, only works when using alert()
- window.location.indexOf not working in Javascript