Omicron Llama

Coding all day, every day.

January, 2010

document.getElementById() in MSIE

Ok, I think I screwed up somewhere – what I paste below breaks in all browsers, not just IE – if the getElementById is wrapped in a function and THEN called sometime after “OnLoad” is triggered, it works. Oh well… Original Article – This is strange. I have an issue which I have grossly simplified […]

document.getElementById() in MSIE

This is strange. I have an issue which I have grossly simplified in order to explain the situation. Below are two snippets of code which work perfectly fine in all browsers but IE. The second code snippet gives the error message: Message: ‘document.getElementById(…)’ is null or not an object As you can see, the difference […]