Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #9226
| From | Gene Wirchenko <genew@ocis.net> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: Showing a 'Waiting ...' Message |
| Date | 2011-12-14 10:46 -0800 |
| Organization | A noiseless patient Spider |
| Message-ID | <idrhe79ng7ob331ihhp77q5ffc7o8bqmsk@4ax.com> (permalink) |
| References | (1 earlier) <8n5fe799liibkn298t5l4h82qjbler0j99@4ax.com> <9kq22gFh0cU1@mid.individual.net> <d40ge7tnra6pusatipdsao37hb06c0vfq2@4ax.com> <ja1ge75jf8v6ecme5ak7lj772uph7u77hf@4ax.com> <6b6f2719-d008-4afe-aff7-9a8595dcae2a@v29g2000yqv.googlegroups.com> |
On Tue, 13 Dec 2011 23:07:21 -0800 (PST), Martin Pearman
<warwound@gmail.com> wrote:
>On Dec 14, 2:10 am, Gene Wirchenko <ge...@ocis.net> wrote:
>> On Tue, 13 Dec 2011 17:50:10 -0800, Gene Wirchenko <ge...@ocis.net>
>> wrote:
>>
>> >On Tue, 13 Dec 2011 15:31:41 -0700, "Mel Smith"
>> ><med_cutout_syn...@aol.com> wrote:
>>
>> >> Thanks for the code. I'll work on trying to implement it and let you
>> >>know.
>>
>> > I am going to take another whack at it. I had it working.
>> >HONEST! REALLY! I thought I had the issue dealt with and so could
>> >toss the code.
>>
>> I think I originally had it working with console.log(). I got
>> the to work when I changed the document.writeln() to console.log().
>>
>> Does anyone know why the document.writeln() causes Looping() to
>> become undefined?
>http://www.google.co.uk/search?q=javascript+document+write+clears+page&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-GB:official&client=firefox-a
>
>Typically any use of document.write() after the page has loaded will
>replace the entire page content.
>
>So your javascript is wiped out and Looping() is undefined.
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?
Sincerely,
Gene Wirchenko
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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