3 ms·
The DOM will have been parsed if your scripts are at the end—but external components (links, imgs) may not have loaded yet.
by beaumartinez 15y ago
The DOM will have been parsed if your scripts are at the end—but external components (links, imgs) may not have loaded yet.
- ehynds 15y agoThe same is true whether or not you use a document.ready statement; you're thinking of window.onready, which fires once all images have been downloaded.
- beaumartinez 15y agoYou are correct! Thanks. Been spending too long with document.readyState.
- ricardobeat 15y agoyou meant window.onload