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