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


Groups > comp.lang.javascript > #9236

Re: Showing a 'Waiting ...' Message

From Jake Jarvis <pig_in_shoes@yahoo.com>
Newsgroups comp.lang.javascript
Subject Re: Showing a 'Waiting ...' Message
Date 2011-12-14 21:18 +0100
Message-ID <9ksekdF7jqU1@mid.uni-berlin.de> (permalink)
References (2 earlier) <9kq22gFh0cU1@mid.individual.net> <d40ge7tnra6pusatipdsao37hb06c0vfq2@4ax.com> <ja1ge75jf8v6ecme5ak7lj772uph7u77hf@4ax.com> <6b6f2719-d008-4afe-aff7-9a8595dcae2a@v29g2000yqv.googlegroups.com> <idrhe79ng7ob331ihhp77q5ffc7o8bqmsk@4ax.com>

Show all headers | View raw


On 14.12.2011 19:46, Gene Wirchenko wrote:
<snip>
>
>       I have a number of pages that do have document.write() calls in
> them, and they work fine.  The pages are presumably loaded at the time
> the document.write() calls are made as some of those are in the body.
> In one page, the body consists only of JavaScript code: a variable
> creation and four document.write() calls using the variable and a
> method defined in the head.
>
>       Could you please clarify your response?
>

In effect you are "overwriting" the old document with a new one, what 
happens with the "script environment" associated with the old document 
is anyone's guess, chrome for example guesses it should be kept around, 
firefox doesn't.

But document.write doesn't always mean "overwrite", it can also mean 
"insert" into what the browser is currently reading and from which it'll 
build a document.

-- 
Jake Jarvis

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


Thread

Showing a 'Waiting ...' Message "Mel Smith" <med_cutout_syntel@aol.com> - 2011-12-13 10:26 -0700
  Re: Showing a 'Waiting ...' Message Gene Wirchenko <genew@ocis.net> - 2011-12-13 12:17 -0800
    Re: Showing a 'Waiting ...' Message "Mel Smith" <med_cutout_syntel@aol.com> - 2011-12-13 15:31 -0700
      Re: Showing a 'Waiting ...' Message Gene Wirchenko <genew@ocis.net> - 2011-12-13 17:50 -0800
        Re: Showing a 'Waiting ...' Message Gene Wirchenko <genew@ocis.net> - 2011-12-13 18:10 -0800
          Re: Showing a 'Waiting ...' Message Martin Pearman <warwound@gmail.com> - 2011-12-13 23:07 -0800
            Re: Showing a 'Waiting ...' Message Gene Wirchenko <genew@ocis.net> - 2011-12-14 10:46 -0800
              Re: Showing a 'Waiting ...' Message Jake Jarvis <pig_in_shoes@yahoo.com> - 2011-12-14 21:18 +0100
                Re: Showing a 'Waiting ...' Message Gene Wirchenko <genew@ocis.net> - 2011-12-14 13:30 -0800
                Re: Showing a 'Waiting ...' Message "Evertjan." <exjxw.hannivoort@interxnl.net> - 2011-12-14 22:56 +0000
                Re: Showing a 'Waiting ...' Message Gene Wirchenko <genew@ocis.net> - 2011-12-14 18:55 -0800
                Re: Showing a 'Waiting ...' Message tony@mountifield.org (Tony Mountifield) - 2011-12-15 08:40 +0000
                Re: Showing a 'Waiting ...' Message Gene Wirchenko <genew@ocis.net> - 2011-12-15 12:08 -0800
                Re: Showing a 'Waiting ...' Message tony@mountifield.org (Tony Mountifield) - 2011-12-15 20:36 +0000
                Re: Showing a 'Waiting ...' Message Gene Wirchenko <genew@ocis.net> - 2011-12-15 15:24 -0800
                Re: Showing a 'Waiting ...' Message Scott Sauyet <scott.sauyet@gmail.com> - 2011-12-16 06:31 -0800
                Re: Showing a 'Waiting ...' Message Dr J R Stockton <reply1150@merlyn.demon.co.uk> - 2011-12-16 21:17 +0000
                Re: Showing a 'Waiting ...' Message "Evertjan." <exjxw.hannivoort@interxnl.net> - 2011-12-15 11:03 +0000
                Re: Showing a 'Waiting ...' Message Dr J R Stockton <reply1150@merlyn.demon.co.uk> - 2011-12-15 20:42 +0000
  Re: Showing a 'Waiting ...' Message Dr J R Stockton <reply1150@merlyn.demon.co.uk> - 2011-12-14 21:11 +0000
    Re: Showing a 'Waiting ...' Message "Mel Smith" <med_cutout_syntel@aol.com> - 2011-12-14 16:54 -0700
      Re: Showing a 'Waiting ...' Message "Mel Smith" <med_cutout_syntel@aol.com> - 2011-12-15 14:34 -0700

csiph-web