Hi I have a requirement to refresh the page for every two seconds i am using below code for it .
function timedRefresh(timeoutPeriod) {
setTimeout(function () {
location.reload(true);
}, timeoutPeriod);
}
5 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Mark TaborPosted Dec 15, 2019, 1:10 AM
Laxmidhar SahooPosted Dec 15, 2019, 12:18 AM
Laxmidhar SahooPosted Dec 15, 2019, 12:10 AM
Mark TaborPosted Dec 14, 2019, 11:53 PM
Laxmidhar SahooPosted Dec 14, 2019, 11:44 PM