stanleymarsh
11-13-2002, 02:29 AM
Hi all.
I'm using a js calendar which is causing a 8000000a error (in IE4.0) when loading. I've narrowed down the cause to innerHTML - see snippet below:
"InnerHTML - The property cannot be set while the document is loading. Wait for the onload event before attempting to set it. If a tag is dynamically created using TextRange, innerHTML, or outerHTML, use JScript(tm) (compatible with ECMA 262 language specification) to create new events to handle the newly formed tags (VBScript is not supported)." So it's saying that you can't set the property until the page is finished loading.
Before I go and post any code, does anyone know of this problem and what I can easily do to fix it? I've tried a setTimeout but to no avail.
TIA
I'm using a js calendar which is causing a 8000000a error (in IE4.0) when loading. I've narrowed down the cause to innerHTML - see snippet below:
"InnerHTML - The property cannot be set while the document is loading. Wait for the onload event before attempting to set it. If a tag is dynamically created using TextRange, innerHTML, or outerHTML, use JScript(tm) (compatible with ECMA 262 language specification) to create new events to handle the newly formed tags (VBScript is not supported)." So it's saying that you can't set the property until the page is finished loading.
Before I go and post any code, does anyone know of this problem and what I can easily do to fix it? I've tried a setTimeout but to no avail.
TIA