button disapper with location.reload(); code example Example: refresh button html <button onClick="window.location.reload();">Refresh Page</button>