Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #2039

Re: A question about refresh

From sheldonlg <sheldonlg@thevillages.net>
Newsgroups comp.lang.javascript
Subject Re: A question about refresh
Date 2011-05-13 15:10 -0400
Organization A noiseless patient Spider
Message-ID <iqjvn8$jh0$1@dont-email.me> (permalink)
References <iqjvks$jff$1@dont-email.me>

Show all headers | View raw


On 5/13/2011 3:08 PM, sheldonlg wrote:
> I have a page that gathers information from a database and shows a
> status. Asynchronously, some other process modifies that status at a
> shortly later time.
>
> I have placed a button on the page to do a refresh of the page. I use
> location.reload() as the onClick method.
>
> Here are the results:
> 1 - Clicking the button does not show the changed status
> 2 - Hitting F5 does not show the changed status
> 3 - Clicking the refresh button on the menu bar does not show the
> changed status
> 4 - Clicking the arrow to the right of the address field DOES show the
> changed status.
>
> I would like to know how I need to code my refresh button on the page so
> that it shows the changed status like #4 above. Any help will be
> appreciated.
>
> (I have looked quite a bit through Google, but haven't found the answer
> and changing an ini file is not really an option as this is a
> mult-purpose page -- I inherited this rather old code).
>

...and BTW, if it means anything it is written with php4 code and 
register_globals=on.  (Can't be changed).

-- 
Shelly

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

A question about refresh sheldonlg <sheldonlg@thevillages.net> - 2011-05-13 15:08 -0400
  Re: A question about refresh sheldonlg <sheldonlg@thevillages.net> - 2011-05-13 15:10 -0400
    Re: A question about refresh Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-05-13 21:24 +0200
      Re: A question about refresh Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-05-13 21:28 +0200
      Re: A question about refresh sheldonlg <sheldonlg@thevillages.net> - 2011-05-13 16:28 -0400
        Re: A question about refresh Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-05-14 09:31 +0200
    Re: A question about refresh Jeff North <jnorthau@yahoo.com.au> - 2011-05-14 10:08 +1000
  Re: A question about refresh Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-05-13 21:21 +0200
  Re: A question about refresh Luuk <Luuk@invalid.lan> - 2011-05-14 09:50 +0200
    Re: A question about refresh Luuk <Luuk@invalid.lan> - 2011-05-14 10:22 +0200

csiph-web