title: location.href does not work in chrome when called through the body/window unload event
body: <p>Javascript - document.location or window.location or window.location.href or location.href does not work in Google Chrome 6 and 7(i didnt test lowers versions) when called from the window/body unload event. Both the ways seems to work fine with IE, Firefox and Safari browsers.</p>
  
  <p>Through more testing i was able to see that this redirect actually works in chrome when done through a click event or any other. However when this is called in the body <strong>unload</strong> event. it does not work.</p>
  
  <p>Sample Code:</p>
  
  <pre><code>&lt;html&gt;
      &lt;script type="text/javascript"&gt;
          function check()
          {
              location.href="http://www.google.com";
          }
      &lt;/script&gt;
  
      &lt;body onunload="check()"&gt;
  
          &lt;input type="button" onclick="check();" value="check"&gt;
  
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I am still trying to find a way to have this working in Chrome... Any help would be greatly appreciated.</p>
  
  <p>Thanks,
  Nived</p>