title: document.location.href not working in chrome or IE
body: <p>I need to redirect a page to after user clicks a alert button but its not working in javascript...</p>
  
  <pre><code>http://jsfiddle.net/wLDsE/2/
  </code></pre>
  
  <p>code:</p>
  
  <pre><code>$(document).ready(function(){
       alert('Go to google')
       document.location.href = 'http://www.google.com';
  
  })
  </code></pre>