Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Refresh

 
kokila devi
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

how to refresh the page continuously without clicking the refresh button.

please help me...its very urgent.
 
kokila devi
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,





I've used this code to refresh the page without refreshing manually but it is not working out. How to refresh the page continuously without clicking the refresh button.

Please help me...its very urgent.
 
Pushkar Choudhary
Rancher
Posts: 425
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See if this can help you in any way.

kokila devi wrote:but it is not working out.

What is error you are getting? ItDoesntWorkIsUseless.

kokila devi wrote:Please help me...its very urgent.

EaseUp.
 
kokila devi
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I dont get any errors. Even though I use that method it is not getting refresh by itself. After clicking on the refresh button only it is refreshing.
 
Pushkar Choudhary
Rancher
Posts: 425
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you read from the link I had suggested to you?
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
submit() is like clearing a whiteboard. Once it calls it cleans up the page. You are not going to read the iframe after that, it is a race condition.

Eric
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why wouldn't you just use the meta refresh? Or a JavaScript timer?
 
kokila devi
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi

I've used the following code for refreshing the page




Now the problem is it is refreshing the page as it is looking like opening and closing the page.To hide the refreshing status bar i've used window.statusbar.visible=false; But it is not working out. So please give a solution for this its very urgent...

Thanks in advance....
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can not hide the status bar unless you hide it with window.open.

If you want to refresh the page without actually refreshing the page, you are doing it wrong.

Look into Ajax.

Eric
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64683
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
kokila devi wrote:please give a solution for this its very urgent...

I'd advise stopping with the "urgent" stuff. Here's why: EaseUp
 
kokila devi
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
The code which i've used is wrong means please give a solution for refreshing.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Eric Pascarello wrote:You can not hide the status bar unless you hide it with window.open.

If you want to refresh the page without actually refreshing the page, you are doing it wrong.

Look into Ajax.

Eric
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you need to also read this: ShowSomeEffort

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic