window object

I’ve written a window event handler mainly for handling multiple onload events. The typical way of handling multiple onload events is by creating a helper function that contains all the onload functions and using window.onload to call the helper function. An example would look something like this, function onloader() { onload1(); onload2(); // and so…

Read More How to handle multiple window events in Javascript