Answers for "after button post html refresh"

2

how to refresh page on click of button

<button type="button" onClick="refreshPage()">Close</button>


<script>
function refreshPage(){
    window.location.reload();
} 
</script>
Posted by: Guest on January-08-2021
1

submit() refreshes the page

<form onsubmit="return false;">Form stuff in here</form>
Posted by: Guest on October-20-2020

Code answers related to "after button post html refresh"

Browse Popular Code Answers by Language