title: window.location does not Redirect with Ajax
body: <p><strong>I have a page with several user controls that use Ajax. When I try to do window.location from this page, Ajax traps the call and does not allow the redirect.</strong></p>
  <pre><code>               $.ajax({
                          url: 'assets/php/action.php',
                          method: 'post',
                          data: $(&quot;#register-form&quot;).serialize()+'&amp;action=register',
                          success:function(response){
                              $(&quot;#register-btn&quot;).val('Sign Up');
                           //   console.log(response);
                           if(response === 'register'){
                               alert(&quot;you will now be redirected&quot;);
                               window.location = 'home.php';
                              }
                              else{ 
                              $(&quot;#regAlert&quot;).html(response);
                           }
                          }
                      });
  </code></pre>