how to reload page without click on any button in javascript code example
Example: how to reload page on button click in javascript
<button type="button" onClick="refreshPage()">Close</button>
<script>
function refreshPage(){
window.location.reload();
}
</script>