How to Reload the Current Webpage w/ HTML & JavaScript?
You can use window.location.reload() JavaScript function to reload the current webpage on the fly. Although there are other ways to do this, it’s the best with the most cross-browser support. You can put this JavaScript function in the onclick HTML attribute to reload the current webpage for an element click. Here’s an example to refresh […]