how to reload 1 html element using javascript code example Example: refresh button html <button onClick="window.location.reload();">Refresh Page</button>