Rafraîchir le bouton HTML
<button onClick="window.location.reload();">Refresh Page</button>
Alberto Peripolli
<button onClick="window.location.reload();">Refresh Page</button>
<button onclick="window.location.reload();">Reload Page</button>
<button onclick="location.reload();">Reload this page</button>
<button onClick="window.location.reload();">Refresh Page</button>
const reloadtButton = document.querySelector("#reload");
// Reload everything:
function reload() {
reload = location.reload();
}
// Event listeners for reload
reloadButton.addEventListener("click", reload, false);
<button onClick="window.location.href=window.location.href">Refresh Page</button>