Answers for "refresh page js"

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
0

refresh page js

window.location.reload(true);
Posted by: Guest on December-08-2020
0

refresh page js

<!DOCTYPE html>
<html>
<body>
    <p id="demo">Click the button Try it </p>
    <button onclick="myFunction()">Try it</button>

    <button onClick="window.location.reload();">Refresh Page</button>

    <script>
        function myFunction() {
            document.getElementById("demo").innerHTML = "Click the button refrech PAGE";
        }
    </script>
</body>
</html>
Posted by: Guest on January-05-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language