Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
beaumartinez
on Feb 17, 2012
|
parent
|
context
|
favorite
| on:
Stop Paying Your jQuery Tax
The DOM will have been parsed if your scripts are at the end—but external components (links, imgs) may not have loaded yet.
ehynds
on Feb 17, 2012
[–]
The 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
on Feb 17, 2012
|
parent
|
next
[–]
You are correct! Thanks. Been spending too long with document.readyState.
ricardobeat
on Feb 17, 2012
|
parent
|
prev
[–]
you meant window.onload
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: