on click button in div refreshed code example
Example: refresh page on div click
<div id="refresh" onClick="refreshPage()">refresh
<!-- <button type="button" onClick="refreshPage()">Close</button> -->
</div>
<script>
function refreshPage(){
window.location.reload();
}
</script>