Answers for "how can i redirect a website to another by button click in js"

7

js onclick redirect

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

Code answers related to "how can i redirect a website to another by button click in js"

Browse Popular Code Answers by Language