Register  |  Login

Question Details    

   Question

Time: 07:09 - Jul 22, 2006     Asked by: Anpanman      Status: Answered      Points: 30   

Automatically refresh internet pages?

I want my web page to update itself every x seconds. How can I do this in a way that works for all (or most) browsers?

Ask a New Question

Become a Quomon Expert

Current Categories

 

Other Questions Needing Answers


   

Answer Discussion
Answer Discussion
Answer Summaries
Answer Summary
 
Anpanman,

Are you talking about having a visitor come to your home page, and then five seconds later it refreshes itself?

If this is the case, there are a couple of ways to do this, the easiest one being to use the "meta refresh" tag which is recognized by most "modern" browsers - IE 5 and greater, NS 4.78 and greater, Firefox, Opera, etc...

Place the following tag in the <head> portion of your HTML document:

<meta http-equiv="refresh" content="600">

The value that you put in the 'content' with determine how many seconds will elapse prior to the page refreshing itself. In the above example the page would refresh in 10 minutes.

Another way you could refresh the page is by using Javascript and the setTimeout() function available. It's a bit more involved, and will also work with most modern browsers.

I will be happy to provide an illustration of the Javascript method if the <meta> tag does not suit your needs. Please let me know.

Take care,
Ric

Expert:

rcastagna

Date:

Jul 24, 2006

Time:

03:54

 

Votes: Good (0) | Bad (0)
Login to rate this answer

Great, I thought I had to use javascript to get it right for most browsers.
Thanks for the answer.

Expert:

Anpanman

Date:

Jul 25, 2006

Time:

02:21

 

Votes: Good (0) | Bad (0)
Login to rate this answer

I am developing a web page that has to update things periodically with out refreshing the webpage (I have multiple forms in my web page and I don't want to disturb other forms). I can get the things back to the web page and they can be updated periodically when I use a single form. But the problem is when I use multiple forms in a single web page I am not able to refresh the single form. Can any one provide some tips how can I send single form request to the server.

Note: Please remember that I can't use submit buttons or anchor tags for submiting the form. It should be done automatically.

Expert:

madinenilakshman

Date:

Mar 21, 2008

Time:

04:41

 

Votes: Good (0) | Bad (0)
Login to rate this answer

Question Answered

This question has been answered, and points have been rewarded to the following experts:

rcastagna: 30

You're welcome however to comment or give additional information or if you wish, you have the ability to write an Answer Summary for this question by clicking on the "Answer Summaries" Tab.

 
No summaries have been submitted yet. Want to be the first?



Respond to this question:

New User

  Email:

Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

Registered User

Username:

Password:


Forgotten Password

 

New User

  Email:

Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

Registered User

Username:

Password:


Forgotten Password

   

"Psst, Quomon is a great site. Pass it on."     Tell a Friend  |   Link To Us  |   Save to Delicious  |   Digg! Digg it


All Questions


Language Options

English:

www.quomon.com

Español:

www.quomon.es

Quomon Blog

blog.quomon.com

Sponsors

Questions and Answers Software
Real Estate Postcards
Marketing Fulfillment