Bookmark: domFunction

brothercake puts together a great script for detecting the availability of objects while the page loads. This way, you don't have to wait until the window.onload event to access elements on the page.

Published April 28, 2005 · Updated September 17, 2005
Categorized as JavaScript
Short URL: https://snook.ca/s/359