0
Q:

Which of the following is the correct way to redirect a user to a new page?

<meta http-equiv="refresh" content="0; URL='http://new-website.com'" />
0
window.location = "http://new-website.com";
window.location.href = "http://new-website.com";
window.location.assign("http://new-website.com");
window.location.replace("http://new-website.com");
0
window.location = "http://new-website.com";
0

New to Communities?

Join the community