24 ways to impress your friends

Jump to menu

Vote down?

Drew McLellan

Nate – that only works once the DOM is loaded. The problem PPK is addressing here is specifically how to prevent unwanted items displaying before the DOM is fully available.