I\'m using window.onload to call my JavaScript code that has to be executed after the page is fully loaded. From what I read this is the recommended method to call such scri
In addition to the answer from Rasmus Kaj and if you are using jQuery, I would direct you to take a look at Global Ajax Event Handlers.
jQuery.fn.ajaxComplete (http://api.jquery.com/ajaxcomplete/)jQuery.fn.ajaxStop (http://api.jquery.com/ajaxstop/)Note, that this has nothing to do with the native onload event.