Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automatic Refresh 2

Status
Not open for further replies.

EnemyGateIsDown

Technical User
Oct 3, 2002
235
GB
Hi Guys,

Can anyone tell me how I can get a page to automatically refresh itself every X seconds?

Any help is as always greatly appreciated.

Cheers,

Chris
 
There have been threads on here about that.. search for META. The META tag will refresh the page at x seconds intevals...


Jim
 
Also, thread855-1182045 (as it describes a server side method as it depends what you are actually trying to do).


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Hi Guys,

Finally managed to drop back onto this project :)

Thanks for your input guys. I have been tinkering with the META tag approach but I want to maintain the pages "state" when it refreshes.

The pages' state is defined by 3 controls for date start date end and location.

Is there any way that I can effectively perform a page submit every x seconds rather than a refresh ?

Any help is as always greastly appreciated.

Chris
 
Thanks dvannoy,

If i use the meta tag as follows:

Code:
<meta http-equiv="refresh" content="4;URL=default.aspx">

Then the page refreshes but goes back to defaults for the controls..

In the content section can I specify javascript?

so that it would read something like

Code:
<meta http-equiv="refresh" content="Javascript:document.FrmInteract.submit();">

Chris

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top