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)
);
In questa pagina del sito puoi guardare il video online .NET JavaScript : Refresh / Redirect web Page with JavaScript della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Flamingo Creations 11 febbraio 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 63 volte e gli è piaciuto 0 spettatori. Buona visione!