Location.reload(true) to reload from the server
|
|
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(true)'> <br> </form> </body> </html>
|
|
|
HTML code for linking to this page:
Related in same category :
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
|