Answers for "how to link a button to another page in html using javascript"

20

href on a button

<button onclick="window.location.href='/page2'">Continue</button>
Posted by: Guest on June-08-2020

Code answers related to "how to link a button to another page in html using javascript"

Browse Popular Code Answers by Language