| Author |
refresh page itself without flickering
|
Seetharaman Venkatasamy
Ranch Hand
Joined: Jan 28, 2008
Posts: 5575
|
|
<%response.setHeader("referesh", "8, url=xyz");%>
is there any way without flickering?
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56174
|
|
Depending upon the browser, there's likely to be some flicker as the page is repainted.
Why are you refreshing the whole page like it's 1998? Ajax was introduced to update on-page data without a whole-page refresh almost a decade ago.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Seetharaman Venkatasamy
Ranch Hand
Joined: Jan 28, 2008
Posts: 5575
|
|
Bear Bibeault wrote: Ajax was introduced to update on-page data without a whole-page refresh almost a decade ago.
i am not sure about ajax, but ajax response for an event. and i need to perform this refresh every x minutes. i can also do this onload of a page but limiting time delay on java script ok?
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
|
|
|
JavaScript knows timers too.
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56174
|
|
Seetharaman Venkatasamy wrote:i am not sure about ajax,
Long past time to fix that.
but ajax response for an event.
Don't know what you mean by this.
and i need to perform this refresh every x minutes.
Use a JavaScript interval.
i can also do this onload of a page but limiting time delay on java script ok?
Subject has given an uncodable response.
|
 |
 |
|
|
subject: refresh page itself without flickering
|
|
|