Answers for "when i click on button it should redirect to another page using 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 "when i click on button it should redirect to another page using javascript"

Browse Popular Code Answers by Language