document.getElementById not working in IE8
The title is a bit misleading. document.getElementById actually does work in IE8, it just works differently than it did in previous versions. Previously (in IE8 Compatibility Mode and earlier), getElementById actually searched based on name and id. This means that lazy or ignorant developers might have gotten used to using name when they meant id….