title: IE incompatability with window.location.href
body: <p>I'm using a callback from an AJAX post request to navigate to a new page, but it is not working on Internet Explorer. My code is as follows:</p>
  
  <pre><code>$.ajax({ 
      type: "POST",
      url: phpUrl,  
      data: data,  
      async: false, 
      success: function() {       
           if (navigator.appName == 'Microsoft Internet Explorer'){   window.location.href("/step2.php")}
           else{ window.location.href = "/step2.php"}             
      },  
      dataType:'json'         
  
  }); 
  </code></pre>
  
  <p>This works fine on FF/Safari/Chrome but when I test it on IE it does not work. Is there a better way of redirecting to a new page? I'm using <code>async:false</code> as my data was not loading on Chrome/Safari if I did not use a callback as the page would just change before the <code>POST</code> request was complete.</p>