Sometimes there’s a need to reload the page with JavaScript. There’s a built in method for that! Just use:
window.location.reload()
Sometimes there’s a need to reload the page with JavaScript. There’s a built in method for that! Just use:
window.location.reload()