logo

Refresh Page Javascript Code
This refesh page script refreshes the webpage after set interval. Great for live updates or sporting scores.

Google
Web Search Hypergurl.com

Handy Hint : This code is a great web site tool. There are many reasons why webmasters would want specific pages on their websites to periodically refresh. For example, you might have a sporting website and need the scores to automatically be updated by refreshing the page. Or maybe you have a dynamic weather chart on your site that you want to be reloaded every few seconds for your visitors.




Javascript Refresh Page by Peter Gehrig and Urs Dudli

This refresh page javascript code automatically reloads the webpage at a given time period. By default, the refresh action is displayed in the status bar. This can be set to no. Simply follow the instructions within the javascript comments.

This script below has been set to refresh a web page after 30 seconds but you can configure the refresh time to suit your needs. Very useful to give live scores for football, basketball and other games, etc.

Adding the javascript to your webpage:

Copy the javascript code below and paste this between the <head> and </head> tags of your web site page. Change the refresh interval where indicated.



 
Hypergurl Hosting
IMPROVED PLANS
FREE Domain Name
web hosting and domain registration

 
Hosting Log In
Username:
Password: Sign up
NEW!
Blog for Webmasters

web site design feed Website Design





Home
Site Map
Email Hypergurl
About
Link To Hypergurl

Site design copyright 2001 - 2007 © hypergurl.com