I'm new to JavaScript.
I would like to call JavaScript / jQuery function after the page load in aspx page.
I tried using  <form onload="function()"> and window.load = function(){}, but the JavaScript is still trigger before some of the content fully loaded. 
Is it possible to call during Page_PreRender in aspx page and not in code behind, so that I can delay the JavaScript function ?
I tried setTimeout("function()",5000) to solve the problem.
However setTimeout() seem like is not compatible with some browser, e.g: caused looping in Google Chrome.
 
     
     
     
     
     
     
    