Answers for "how to open next page on click button in javascript"

0

how to open next page on click button in javascript

<button onclick="abc()">Open</button>
<script>
function abc(){
location.href="www.google.com";
}
</script>
Posted by: Guest on December-06-2020

Code answers related to "how to open next page on click button in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language