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


Groups > comp.lang.javascript > #14718 > unrolled thread

FF keeps spinning after document.write

Started by"Tom de Neef" <tdeneef@qolor.nl>
First post2012-06-27 20:22 +0200
Last post2012-06-27 23:35 +0200
Articles 3 — 2 participants

Back to article view | Back to comp.lang.javascript


Contents

  FF keeps spinning after document.write "Tom de Neef" <tdeneef@qolor.nl> - 2012-06-27 20:22 +0200
    Re: FF keeps spinning after document.write Spamless <Spamless@Nil.nil> - 2012-06-27 14:39 -0500
      Re: FF keeps spinning after document.write "Tom de Neef" <tdeneef@qolor.nl> - 2012-06-27 23:35 +0200

#14718 — FF keeps spinning after document.write

From"Tom de Neef" <tdeneef@qolor.nl>
Date2012-06-27 20:22 +0200
SubjectFF keeps spinning after document.write
Message-ID<4feb4f94$0$6880$e4fe514c@news2.news.xs4all.nl>
The script receives an AJAX message, telling it that the session is over.
In the script, this instruction leads to the statement
  document.write(msg);  // msg = "session is over"

The browser loads a new page and displays the message.
In FF though, the spinner keeps spinning even though there is no longer any 
JavaScript loaded.
No prblems in IE8, Chrome.
I tried embedding msg in <html><head>... etc. but to no avail.

I must be missing something but I have no clue where to look.
Can you pls give a suggestion.
Tom


[toc] | [next] | [standalone]


#14721

FromSpamless <Spamless@Nil.nil>
Date2012-06-27 14:39 -0500
Message-ID<IZSdnUkovMjk_HbSnZ2dnUVZ_jGdnZ2d@inch.com>
In reply to#14718
On 2012-06-27, Tom de Neef <tdeneef@qolor.nl> wrote:
> The script receives an AJAX message, telling it that the session is over.
> In the script, this instruction leads to the statement
>   document.write(msg);  // msg = "session is over"
>
> The browser loads a new page and displays the message.
> In FF though, the spinner keeps spinning even though there is no longer any 
> JavaScript loaded.
> No prblems in IE8, Chrome.
> I tried embedding msg in <html><head>... etc. but to no avail.

Did you do a document.close() (not window.close()) after the write?

[toc] | [prev] | [next] | [standalone]


#14725

From"Tom de Neef" <tdeneef@qolor.nl>
Date2012-06-27 23:35 +0200
Message-ID<4feb7cf3$0$6932$e4fe514c@news2.news.xs4all.nl>
In reply to#14721
"Spamless" <Spamless@Nil.nil> schreef in bericht 
news:IZSdnUkovMjk_HbSnZ2dnUVZ_jGdnZ2d@inch.com...
> On 2012-06-27, Tom de Neef <tdeneef@qolor.nl> wrote:
>> The script receives an AJAX message, telling it that the session is over.
>> In the script, this instruction leads to the statement
>>   document.write(msg);  // msg = "session is over"
>>
>> The browser loads a new page and displays the message.
>> In FF though, the spinner keeps spinning even though there is no longer 
>> any
>> JavaScript loaded.
>> No prblems in IE8, Chrome.
>> I tried embedding msg in <html><head>... etc. but to no avail.
>
> Did you do a document.close() (not window.close()) after the write?

Spot on !
Thank you so much.
Tom 

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.javascript


csiph-web