reload method (location)
Reloads the current page.
Syntax:
You can find the related objects in the Supported by objects section below.
Parameters:
Optional. Boolean that specifies the type of reloading.
One of the following values:
|
Return value:
This method has no return value.
Example HTML code 1:
This example illustrates the use of the reload method:
|
||||
<head> <script type="text/javascript"> function Reload () { window.location.reload () } </script> </head> <body> <button onclick="Reload ()">Reload this page!</button> </body> |
||||
|
||||
Did you find this example helpful?
|
Supported by objects:
Related pages:
External links:
User Contributed Comments