Home > OS >  JQuery Reload/refresh page while site browse on mobile while locked
JQuery Reload/refresh page while site browse on mobile while locked

Time:06-12

How to refresh the page after 5 seconds while mobile is locked.

so that page will refresh automatically

CodePudding user response:

you can do that with just plain javascript try this bro

function refresh(){
    window.location = window.location.href;
}
setInterval('refresh()', 5000);

CodePudding user response:

can refresh page without Js: refresh page every 10 sec

<meta http-equiv="refresh" content="10" >
  • Related