js click button to refresh page code example
Example: reload pageon button click
<button type="button" onClick="window.location.reload();">Close</button>
<button type="button" onClick="window.location.reload();">Close</button>