Omicron Llama

Coding all day, every day.

javascript

Get MySite Host with jQuery

Here’s a little snippet of code to grab the MySite host of the current environment using jQuery to pick it out from the user’s Welcome Menu.

Nice and simple!

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 […]