This is a DOM Ready function I wrote, I think it's pretty small and simple but works pretty well. Tested in IE 8, Chrome, and Opera. All working 100%
What do you think?Quote:
function domReady(){if(d.body){//DOM is ready, execute whatever you want here}else{setTimeout("domReady()",10);}};
domReady();
PS: Wrapped in "quote" for better reading
