Answers for "make a button redircet ti a kink"

6

onclick href

onclick="location.href='http://www.hyperlinkcode.com/button-links.php'"
Posted by: Guest on March-30-2020
7

js onclick redirect

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

html button click url

# Wrap whole button in a 'a' tag.
 <a href="https://google.com" class="button"><button class="pixel">Button text</button></a>
Posted by: Guest on October-25-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