button click reload and function 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();
});