Answers for "how to redirect to another page in javascript onclick"

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 to redirect to another page in javascript onclick"

Browse Popular Code Answers by Language