Answers for "how to open a link by onclick on a button"

35

onclick button href

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

Code answers related to "how to open a link by onclick on a button"

Browse Popular Code Answers by Language