/ Published in: JavaScript
This is a prototype based method for loading functions, this is an alternative to using window.onload = function();
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function app_events(){ //add in your functions here; } Event.observe(window, 'load', app_events);