Fotiman - 6:29 pm on Jan 17, 2012 (gmt 0)
@Rain_Lover, much of what is on w3schools is just terrible advice. :)
However, to assure that a function is read/loaded by the browser before it is called
If you avoid inline scripts (another good recommendation for maintaining separation of content and behavior), then this won't be an issue.