0

Is there any way that I can do a CTRL-F5 type of refresh and reload the whole browser window? I've tried the following code:

function showRefresh()
{
    window.location.reload(true); 
}

The page doesn't seem to want to refresh correctly. If I do a CTRL-F5 on my keyboard it reloads fine. Any help is much appreciated.

Pang
  • 9,073
  • 146
  • 84
  • 117

1 Answers1

-2

You could do this as well:

function showRefresh(){
    window.location = window.location;
}
Get Off My Lawn
  • 30,739
  • 34
  • 150
  • 294