File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Refresh Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Refresh" Watch "Refresh" New topic
Author

Refresh

kokila devi
Greenhorn

Joined: Feb 18, 2010
Posts: 11
hi,

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

please help me...its very urgent.
kokila devi
Greenhorn

Joined: Feb 18, 2010
Posts: 11
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

Joined: May 21, 2006
Posts: 425

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

Joined: Feb 18, 2010
Posts: 11
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

Joined: May 21, 2006
Posts: 425

Did you read from the link I had suggested to you?
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
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

Joined: Sep 29, 2008
Posts: 12617

Why wouldn't you just use the meta refresh? Or a JavaScript timer?
kokila devi
Greenhorn

Joined: Feb 18, 2010
Posts: 11
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

Joined: Nov 08, 2001
Posts: 15376
    
    6
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

Joined: Jan 10, 2002
Posts: 61756
    
  67

kokila devi wrote:please give a solution for this its very urgent...

I'd advise stopping with the "urgent" stuff. Here's why: EaseUp


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
kokila devi
Greenhorn

Joined: Feb 18, 2010
Posts: 11
Hi,
The code which i've used is wrong means please give a solution for refreshing.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
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

Joined: Nov 08, 2001
Posts: 15376
    
    6
I think you need to also read this: ShowSomeEffort

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Refresh