Re: Reload/refresh web page
| From: | Kevin Smith | Date: | Fri, 04 May 2007 13:46:05 +0000 |
| Subject: | Re: Reload/refresh web page | ||
| References: | 1 2 3 4 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-27810@lists.php.net to get a copy of this message | ||
// The argument to the location.reload function determines
// if the browser should retrieve the document from the
// web-server. In this example all we need to do is cause
// the JavaScript block in the document body to be
// re-evaluated. If we needed to pull the document from
// the web-server again (such as where the document contents
// change dynamically) we would pass the argument as 'true'.
//
<body onload="window.location.reload( false);">
Jody Williams wrote:
I have seen references to using the "refresh" without the content. could this be incorporated into an onload event? On 5/4/07, Alf Stockton <alf@stockton.co.za> wrote:Jody Williams wrote:what about using: <meta http-equiv="refresh" content="600">That would refresh after 600 seconds. Not quite what I want. I want to refresh on reload but as I said in my original email:-but thank you for trying. -- Regards,My first thought was to add refresh within a onload but this would be daft as one would end up in a permanent loop.Alf Stockton www.stockton.co.zaNever commit yourself! Let someone else commit you. My email disclaimer is available at www.stockton.co.za/disclaimer.html