Learn the details about How to open a new html page on button click in javascript instantly right from your google search results with the Codeamend
Redirect new page when click the button using JavaScript
<button onclick="location.href='www.codeamend.com'">Click Me</button>
OR
<button id="clickbtn" class="button">Move to Codeamend</button>
<script type="text/javascript">
document.getElementById("clickbtn").onclick = function () {
location.href = "www.codeamend.com";
};
</script>
Total Views: 2,006