Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #18584
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!nuzba.szn.dk!pnx.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | "Mel Smith" <med_cutout_syntel@aol.com> |
| Newsgroups | comp.lang.javascript |
| Subject | Strange Delay in Page display (OT ??) |
| Date | Thu, 21 Feb 2013 11:31:03 -0700 |
| Lines | 56 |
| Message-ID | <aon7faFo7deU1@mid.individual.net> (permalink) |
| X-Trace | individual.net tHfyxjinJQRIMqdsgLu45ws5YP+ev8dL8zfnyEdiBs1I8muzRL/KRrK2iHhDqps1Y/ |
| Cancel-Lock | sha1:q9xgXO/6udI/dgdJfccjxfvqKh4= |
| X-Priority | 3 |
| X-MSMail-Priority | Normal |
| X-Newsreader | Microsoft Outlook Express 6.00.2900.5931 |
| X-MimeOLE | Produced By Microsoft MimeOLE V6.00.2900.6157 |
| X-RFC2646 | Format=Flowed; Original |
| Xref | csiph.com comp.lang.javascript:18584 |
Show key headers only | View raw
Hi:
I have noted a delay of from 5 to 11 seconds in displaying a page sent
from my server to a client (just *me* for now).
I have a very simple page with the following line:
<body onload="setupflds();">
etc,etc
</body>
and the following JS
***********************
function setupflds() {
alert("I get here from 5 to 11 seconds *after* the display shows very
quickly on the screen !") ;
var srcel=document.getElementById("huserid") ;
var dstel=document.getElementById("iuserid") ;
dstel.firstChild.nodeValue=" "+srcel.value ;
srcel=document.getElementById("hpassword") ;
dstel=document.getElementById("ipassword") ;
dstel.firstChild.nodeValue=" "+srcel.value ;
srcel=document.getElementById("hscrname") ;
dstel=document.getElementById("iscrname") ;
dstel.firstChild.nodeValue=" "+srcel.value ;
}
***************************
Environment:
My user has just 'registered' at my site thru a series of pages, and I
then (from my server CGI software) send the above page, and immediately (and
programmatically) send a confirmatory email message to his email address.
The user ( i.e., me) sees the page immediately, *but* the onload event
does not fire for 5 to 11 seconds after the display is shown !
Question:
Under what condition(s) does the 'onload' event fail to initiate its
associated function immediately on the display of the page ?
Or what is happening to delay the initiation of that function ?
Thanks for any insight into this problem.
--
Mel Smith
Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread
Strange Delay in Page display (OT ??) "Mel Smith" <med_cutout_syntel@aol.com> - 2013-02-21 11:31 -0700
Re: Strange Delay in Page display (OT ??) Danny <dann90038@gmail.com> - 2013-02-21 15:42 -0800
Re: Strange Delay in Page display (OT ??) "Mel Smith" <med_cutout_syntel@aol.com> - 2013-02-21 17:57 -0700
Re: Strange Delay in Page display (OT ??) "Mel Smith" <med_cutout_syntel@aol.com> - 2013-02-21 18:09 -0700
Re: Strange Delay in Page display (OT ??) Richard Damon <Richard@Damon-Family.org> - 2013-02-24 20:37 -0500
Re: Strange Delay in Page display (OT ??) "Mel Smith" <med_cutout_syntel@aol.com> - 2013-02-25 13:29 -0700
Re: Strange Delay in Page display (OT ??) Christoph Becker <cmbecker69@gmx.de> - 2013-02-25 22:43 +0100
Re: Strange Delay in Page display (OT ??) "Mel Smith" <med_cutout_syntel@aol.com> - 2013-02-25 16:41 -0700
csiph-web