Answers for "how to go to other page whit js"

7

js onclick redirect

<button onclick="location.href='www.yoursite.com'">Click Me</button>
Posted by: Guest on June-16-2020
0

javascript link to another page

window.open("http://mywebsite.com/home.html")
Posted by: Guest on June-26-2020

Browse Popular Code Answers by Language