SyntaxFix
Write A Post
Hire A Developer
Questions
There is no difference ...
So principially you could use both (one at a time !-)
But for the sake of readability and for the cleanliness of the html-code I always prefer the window.onload !o]