Java script for Refresh web page every particular seconds / minutes without refresh.
// write in Script
function setIdle(cb, seconds) {
var timer;
var interval = seconds * 1000;
function refresh() {
clearInterval(timer);
timer = setTimeout(cb, interval);
};
refresh();
}
//Call the function
setIdle(function () {
//location.href = location.href; // Current page Refresh
location.href = '@Url.Action("PageRedirect", "RefreshPage")';
}, 5 // (its in Seconds, 600 seconds = 10 mins, lets change it 5 seconds)
);
En esta página del sitio puede ver el video en línea .NET JavaScript : Refresh / Redirect web Page with JavaScript de Duración hora minuto segunda en buena calidad , que subió el usuario Flamingo Creations 11 febrero 2020, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 63 veces y le gustó 0 a los espectadores. Disfruta viendo!