javascript function refresh the page code example
Example 1: javascript reload page
location.reload();
Example 2: js refresh button
<a onClick="window.location.reload()">Refresh</a>
location.reload();
<a onClick="window.location.reload()">Refresh</a>