Re: Reload/refresh web page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



//  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@xxxxxxxxxxxxxx> 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:-
>> My first thought was to add refresh within a onload but this would be
>> daft as one would end up in a permanent loop.
but thank you for trying.

--
Regards,
Alf Stockton            www.stockton.co.za

Never commit yourself!  Let someone else commit you.
My email disclaimer is available at www.stockton.co.za/disclaimer.html



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux