Answers for "HOW TO SEND A HREF IN A BUTTON"

1

href in button

<input type="button" onclick="location.href='https://google.com';" value="Go to Google" />
Posted by: Guest on December-27-2020
0

button with href

onClick={() => {window.location.href="https://www.golfballs.com/"}}
Posted by: Guest on August-05-2020

Browse Popular Code Answers by Language