I have the button to refresh this page
echo & lt; Input type = "button" value = "reload page" onClick = "window.location.href = window.location.pathname;" & gt; '; What is the easiest way to ensure that the page is not read by the cache? Math.random () some kind echo & amp; Input type = "button" value = "reload page" to use onClick = "window.location.href = Window.location.pathname & amp; \ '? T = \ & Math.random () ; "& Gt; ';
To reload with server usage:
< / P>
window.location.reload (true) information:
Comments
Post a Comment