js refresh current url code example Example: js refresh button <a onClick="window.location.reload()">Refresh</a>