That's not a good script. When you need to refresh a page you'd want to
control if the page is refreshed from cache (ie redrawn without a server
round-trip) or new data is pulled from the server - using history doesn't
give you this control.
To pull new data from the server
<a href="javascript:;" onclick="location.reload(true); return false">Refresh
from server</a>
To refresh without a server round-trip
<a href="javascript:;" onclick="location.reload(); return false">Refresh
from client</a>
Go to that link and get it yourself.
--
===
Tom "Pepper" Willett
Microsoft MVP - FrontPage
---
About FrontPage 2003: http://office.microsoft.com/home/office.aspx?assetid=FX01085802
===
| Could you get me the code for it?
| --
| Legolas Greenleaf, Tree Elf
|
|
| "Tom Pepper Willett" wrote:
|
| > Googling for "refresh button script" came up with many hits, including:
| > http://javascript.internet.com/buttons/refresh-button.html
| > --
| > ===
| > Tom "Pepper" Willett
| > Microsoft MVP - FrontPage
| > ---
| > About FrontPage 2003:
| > http://office.microsoft.com/home/office.aspx?assetid=FX01085802
| > ===
| > | > |I want to have a refresh button on my page. Please help. Codes will
work.
| > | Oh, and also-I am using FrontPage 2003.
| > | Thanks!
| > | --
| > | Legolas Greenleaf, Tree Elf
| >
| >
| >
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.