Answers for "how to refresh a page in javascript"

83

refresh window js

window.location.reload();
Posted by: Guest on April-05-2020
10

how to reload the same page using javascript

BY LOVE
window.location.reload();
Posted by: Guest on May-09-2020
32

javascript reload page

location.reload();
Posted by: Guest on June-14-2019
10

refresh page js

//with no cache
document.location.reload(true);

//else

document.location.reload();
Posted by: Guest on June-09-2020
2

javascript refresh page

<script type="text/javascript">
    function autoRefreshPage()
    {
        window.location = window.location.href;
    }
    setInterval('autoRefreshPage()', 10000);
</script>
Posted by: Guest on April-20-2021
0

how to refresh a page in javascript

document.querySelector(".again").addEventListener("click", function (){
  location.reload();
})
Posted by: Guest on June-07-2021

Code answers related to "how to refresh a page in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language