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.
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.