SyntaxFix
Write A Post
Hire A Developer
Questions
I'm not quite sure what you're asking, but maybe this can help:
window.onload = function(){ // Code. . . }
Or:
window.onload = main; function main(){ // Code. . . }