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)
);
Nesta página do site você pode assistir ao vídeo on-line .NET JavaScript : Refresh / Redirect web Page with JavaScript duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Flamingo Creations 11 Fevereiro 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 63 vezes e gostou 0 espectadores. Boa visualização!