Answers for "html button onclick to url"

CSS
35

onclick button href

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

onclick url

<button onclick="location.href='logout.php';">logout</button>
Posted by: Guest on July-04-2020

Browse Popular Code Answers by Language