Return to Snippet

Revision: 2238
at January 21, 2007 17:50 by vanne


Initial Code
function app_events(){
   //add in your functions here;
}

Event.observe(window, 'load', app_events);

Initial URL

                                

Initial Description
This is a prototype based method for loading functions, this is an alternative to using window.onload = function();

Initial Title
Function loading in prototype

Initial Tags
javascript

Initial Language
JavaScript