|
Posted by Randy Webb on 11/19/07 21:19
Mika said the following on 11/19/2007 3:51 PM:
> "Stevo" <please@spam-me.com> wrote in message
> news:fhsl6r$23p$00$1@news.t-online.com...
>> Mika wrote:
>>> "Mika" <anon@anon.com> wrote in message
<snip>
>>>> Thanks for all the tips. Hopefully MS will fix the bug before even more
>>>> programmers hate their browser, even if the majority of public don't.
>>> Okay it turns out we jumped the gun as the problem is still happening,
>>> albeit less often. It is completely random.
>> The problem is that some code is trying to dynamically create DOM elements
>> before the page is complete (i.e. before the </body> tag). IE won't
>> tolerate this.
Wow, IE got it right. Imagine that.
>>> Can anyone suggest another way to do this (which doesn't work)?:
>>> <!--[if IE]></body><![endif]-->
>> Have you tried using document.write("<\/body>"); ?
>
> Apologies, could you put the code in context and in laymen's terms please?
> Exactly what should we add to make only IE see a </body> command?
Instead of trying to work around flaws in your design, maybe you should
be trying to make your code work with valid HTML.
--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Navigation:
[Reply to this message]
|