how to reload page with javascript like refresh button code example Example: js refresh button <a onClick="window.location.reload()">Refresh</a>