Location.reload() Doesn't Work On Remote Server
I have a javascript animation which uses delay() and setInterval() functions. Everything works fine but animation elements become crazy when user opens another browser tab and goes
Solution 1:
I cannot explain, but it seems that soluton is
location.href = location.href;
instead of
location.reload();
The page is reloaded on local and remote server.
Post a Comment for "Location.reload() Doesn't Work On Remote Server"