codingtcher.com
Theme Night
Home
Login

Reload window javascript

//how to reload window in javascript
location.reload():
window.location.reload(true);

//refresh page javascript
location.reload();
// OR
window.location.reload();

//refresh window js
window.location.reload();

//refresh page js
//with no cache
document.location.reload(true);
//else
document.location.reload();

Related Code