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,564
  • 146
  • 81
  • 122

1 Answers1

-2

You could do this as well:

function showRefresh(){
    window.location = window.location;
}
Get Off My Lawn
  • 34,175
  • 38
  • 176
  • 338