Chapter 75. Automatically Refreshing the Page

Normally, the visitor needs to click the browser's Refresh button to reload the current Web page. But there's an easy way for you, the designer, to build an automatic refresh cycle into your page, so that the browser reloads the current document without the visitor's interaction. This trick comes in handy if your page contains time-sensitive or real-time information, like the current weather conditions, stock quotes, or inventory levels.

GEEKSPEAK

Information is said to be real-time if it reflects the current, up-to-the-second state, whether it's the number of units of product in a warehouse, the price of a share of stock, or the national debt.

Say you have a Web page that generates and displays ...

Get Web Design Garage now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.