Answers for "onclick to redirect vanilla javascript"

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 "onclick to redirect vanilla javascript"

Browse Popular Code Answers by Language