title: window.onload() is not firing with IE 8 in first shot
body: <p>I am trying to make my pages work correctly with IE 8, I found out from here: <a href="http://www.masykur.web.id/post/How-to-Make-Our-Website-to-be-Ready-for-IE8.aspx" rel="noreferrer">http://www.masykur.web.id/post/How-to-Make-Our-Website-to-be-Ready-for-IE8.aspx</a>
  that, my page has to be XHTML 1.0 compliant and atleast CSS 2.1 compliant, I made my page and CSS compliant with only few warnings, but still window.onload() is not firing. Does anybody encountered this problem?</p>
  
  <p>here is the code snippet:</p>
  
  <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"&gt;
      &lt;head&gt;
          &lt;meta http-equiv="X-UA-Compatible" content="IE=8"/&gt;
          &lt;title&gt;Testing&lt;/title&gt;
          &lt;link rel="stylesheet" href="test.css" type="text/css"&gt;&lt;/link&gt;
          &lt;script type="text/javascript" src="login.js"&gt;&lt;/script&gt;
          &lt;script type="text/javascript" src="common.js"&gt;&lt;/script&gt;
          &lt;script type="text/javascript"&gt;
              window.onload = function()
              {
                            // Not coming here at all on first shot   
              }
          &lt;/script&gt;
      &lt;/head&gt;
      &lt;body&gt;
       .
       .
       .
  </code></pre>
  
  <p>However refreshing the page seems to make it work.</p>
  
  <p>Am I missing something here?</p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>One of the IE addons created this problem, after disabling its working fine. Thanks for your time and answers :)</p>