Location.reload(false) to reload from the cache : Location : Location JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » Location » Location »

 

Location.reload(false) to reload from the cache







The reload() method reloads the current page displayed in the browser.












<html>
    <head>
    <title> Using the reload method of the Location object</title>
    </head>
    <body>
    <form name="form1">
    Click the button to reload the current page.
    <br><br>
    Location.hash value: <input type="text" name="text1" size=20>
    <br>
    <input type="button" name="load" value="Reload page" onClick='document.location.reload(false)'>
    <br>
    </form>
    </body>
    </html>







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo Location
» Location