click should refresh the page javascript code example
Example 1: refresh button html
<button onClick="window.location.reload();">Refresh Page</button>
Example 2: refresh page on button click jquery
$('#something').click(function() {
location.reload();
});