A few years ago, Dean Edwards brought us this workaround to the document.onload problem. The IE version for the solution involved adding this fragment to the document:
<script defer src=ie_onload.js><\/script>;
Dean was also pretty sure that this was the closest excellence solution he could find and rejected any solution in which the onreadystatechange attribute was unreliable (see comments).
Subsequent refinements in his solution still affect some version of <script defer> and most JS frameworks have implemented it, including jQuery.
Today I am browsing the source of jQuery 1.4.1 and I cannot find it.
At what point did he fall and why?
javascript jquery javascript-events
mike_e
source share