Refresh Button Html

refresh button html
<button onClick="window.location.reload();">Refresh Page</button>
how to make button reload the page use javascript
<button onclick="window.location.reload();">Reload Page</button>
html reload button
<button onclick="location.reload();">Reload this page</button>
refresh button html
<button onClick="window.location.reload();">Refresh Page</button>
javascript button onclick reload page
const reloadtButton = document.querySelector("#reload");
// Reload everything:
function reload() {
reload = location.reload();
}
// Event listeners for reload
reloadButton.addEventListener("click", reload, false);
refresh button html
<button onClick="window.location.href=window.location.href">Refresh Page</button>

Leave a Comment