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

0

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'" />
Posted by: Guest on October-09-2020
0

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

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");
Posted by: Guest on October-09-2020

Code answers related to "Which of the following is the correct way to redirect a user to a new page?"

Code answers related to "Javascript"

Browse Popular Code Answers by Language