TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Mark Tabor
587
2k
457k
javascript page refresher function gives flicker on Internet
Dec 13 2019 3:19 AM
Hi I have a requirement to refresh the page for every two seconds i am using below code for it .
<script type="text/javascript">
function timedRefresh(timeoutPeriod) {
setTimeout(function () {
location.reload(true);
}, timeoutPeriod);
}
</script>
<meta name="viewport" content="width=device-width" />
<title>Index1</title>
<meta http-equiv="refresh" content="2" />
</head>
<body onload="JavaScript:timedRefresh(2000);>
it works well for Google chrome but it gives flicker on IE and firefox so how to fix it ? can somebody help me
Reply
Answers (
5
)
What’s new in .Net core 3.1
What’s new in Asp.Net core 3.1