I\'m using a JavaScript upload script that says to run the initialize function as soon as the DOM is ready. I currently have it working just fine with either a call to the f
In 2015 you have two options with modern browsers:
document.onload
window.onload
Both of the above events would be better utilized with window.addEventListener() of course, as multiple listeners would be allowed.