window.location.href = “https://www.google.com/“
Interviews2 answers
How do I redirect to another webpage?
2 Answers
Sanjay MakwanaPosted Dec 25, 2020, 2:25 AM EST
If you need it in JQuery we can follow below sample:$(location).attr('href', 'http://google.com');
Kokul JosePosted Oct 15, 2020, 6:08 AM EDT


