Is there a script to refresh the browser at a page again? More specifically, does the browser emulate the refresh button or F5? I have found two, but whatever I see is not enough;
& lt; Script type = "text / javascript" & gt; Var currheight = document.documentElement.clientHeight; Window.onresize = function () {if (currheight! = Document.documentElement.clientHeight) {location.replace (location.href); }} & Lt; / Script & gt;
and
Problems with both of these appear to reset the page completely, where some users have made changes by using the browser refresh function (for example a specific Like having on the hash) that i need is
Is there a way to refresh the window with a script similar to clicking on browser refresh? I do not understand why there is a difference, but that's it.
Thank you.
Yes, you might want to take a look at some JavaScript events.
Here's a link to start with the event:
As far as the page is reloading, you can also do this:
As far as user values are kept, you can continue them in one session.
No comments:
Post a Comment