title: window.onload equivalent for Ajax applications?
body: <p>I'm using window.onload to call my <a href="http://en.wikipedia.org/wiki/JavaScript" rel="nofollow noreferrer">JavaScript</a> code that has to be executed after the page is fully loaded. From what I read this is the recommended method to call such scripts.</p>
  
  <p>However, it does not work for some <a href="http://en.wikipedia.org/wiki/Ajax_(programming)" rel="nofollow noreferrer">Ajax</a> sites, www.bing.com for instance - window.onload is called before the pages is fully rendered.</p>
  
  <p>Any suggestions?</p>