Solved

Refreashing a page automatically.

Posted on 1998-07-02
1
158 Views
Last Modified: 2010-04-09
Hi,
     I was wondering how I would reload a page every 5 seconds or so automatically.
Thanks in advance.
0
Comment
Question by:cide
1 Comment
 
LVL 2

Accepted Solution

by:
johnny99 earned 10 total points
ID: 1844532
OK first of all, not all browsers do this: Netscape 2 and greater, Explorer 3.1 but not 3.0 I think, but anyway...

Put this code into the <HEAD>...</HEAD> portion of your page:

<META HTTP-EQUIV="refresh" CONTENT="n ; URL=url">

Where n is the number of seconds and url is the url you want it to go to. If you just want it to refresh itself then you don't put the URL=url part.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
align Linkedin sign to the right page 5 55
Save ms data to server side. 19 55
100% tall div not scrollable on iPhone 3 20
Button on Table, name table1 not working 4 20
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question