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


Groups > comp.lang.javascript > #2038

A question about refresh

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From sheldonlg <sheldonlg@thevillages.net>
Newsgroups comp.lang.javascript
Subject A question about refresh
Date Fri, 13 May 2011 15:08:52 -0400
Organization A noiseless patient Spider
Lines 25
Message-ID <iqjvks$jff$1@dont-email.me> (permalink)
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Fri, 13 May 2011 19:09:16 +0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="d6dY8jWurzSV+6Ku6lmOfg"; logging-data="19951"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Ix9lsBtqPN6UDpe0j1ge2TH0OLPzt2/A="
User-Agent Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10
Cancel-Lock sha1:NBYRlc2bYK0CzZzKUhqxBmP6+bA=
Xref x330-a1.tempe.blueboxinc.net comp.lang.javascript:2038

Show key headers only | View raw


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).

-- 
Shelly

Back to comp.lang.javascript | Previous | Next — 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