Home > Not Working > $window.load Not Working In Ie8

$window.load Not Working In Ie8


I hope this helps. See ASP.NET Ajax CDN Terms of Use – http://www.asp.net/ajaxlibrary/CDN.ashx. ]]> dean.edwards.name/weblog/2005/09/busted/ myweblogaboutsearch Previous post: MSIE7 Will Not Support application/xml+xhtml I was adding a function to window.onload via a dynamically injected script (really to mimic an external script load for reasons which are not important in this context). I was actually using it for loading script from unreliable hosts, where I didn't care if it came early or late, as long as it didn't hang the page when it http://camtronics.net/not-working/ajax-load-image-not-working.html

Not the answer you're looking for? function checkDOM(){ if (getById("footer")||getById("credit")) Startup(); else setTimeout("checkDOM();",100); } if (document.addEventListener) { document.addEventListener("DOMContentLoaded", Startup, null); } else { setTimeout("checkDOM();",100); } There is a bit of an artifact where the original DOM is Incidentally you don't need XHTML for IE8 compliance. JavaScript Copy Load Event Sample