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

Want to learn about scaling CSS for large projects?

I'm available for full and half-day workshops on scalable CSS architecture. I can provide on-site training for your team. Interested?
Get in touch.