how to open next page on click button in javascript code example
Example: how to open next page on click button in javascript
<button onclick="abc()">Open</button>
<script>
function abc(){
location.href="www.google.com";
}
</script>
<button onclick="abc()">Open</button>
<script>
function abc(){
location.href="www.google.com";
}
</script>