O'Reilly logo
  • Ahmed Elgendy thinks this is interesting:

Don’t even think about running my code until the page is fully loaded!


Cover of Head First JavaScript Programming


How to run the code after the page has been fully uploaded? A tip: pay close attention to the fact that you are assigning a function to the property of an object and not calling/invoking the function.