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