Featured Post from molendijk
by , 02-11-2018 at 09:15 PM
EDIT 02-12: I added some ameliorations to the tutorial and designated a 'best method' for firing load events.
Many people think that putting a script at the end of the body section guarantees that it will fire because of its position in the document. While this is true in many cases, we can't rely on this because a script put at the end of the document starts to run as soon as the dom is ready (unless we inform it to wait using a timeout or another method). At this 'domready stage', there
...