Quantcast
Channel: Powertips » Javascript
Viewing all articles
Browse latest Browse all 10

How to refresh the page using javascript

$
0
0

3 Ways to refresh/reload the page using javascript

  1. <input type=”button” value=”Reload Page” onClick=”window.location.reload()”>
  2. <input type=”button” value=”Reload Page” onClick=”history.go(0)”>
  3. <input type=”button” value=”Reload Page” onClick=”window.location.href=window.location.href”>


Viewing all articles
Browse latest Browse all 10

Trending Articles