Re:Don’t let jQuery’s $(document).ready() slow you down
by MBlume on Thursday August 19, 2010 @07:12PM
(#1618992)
swap the first two lines:
[ Parent
| on HN ]
Re:Don’t let jQuery’s $(document).ready() slow you down
by photon_off on Thursday August 19, 2010 @07:19PM
(#1619012)
Very clever. This works because $(document).ready will execute immediately if the page is already loaded.