|
-
DOM Ready
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%
function domReady(){ if(d.body){ //DOM is ready, execute whatever you want here }else{ setTimeout("domReady()",10); } };
domReady();
What do you think?
PS: Wrapped in "quote" for better reading
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
|
Bookmarks