title: How to redirect response from ajax request
body: <p>I need to redirect to a page from response. I made a ajax call and can handle success. There is html page in response, but how to redirect it to that page.<br>
  Here's my code.</p>
  
  <pre><code>$("#launchId").live('click',function(){
      var id= $("#id").val();
      var data = 'id='+id;
      $.ajax({
          url: "xyz.json",
          type: "post",
          data: data,
          dataType: 'json',
          complete : function(response) {
               window.location.href = response;                  
          }
      });
   });
  </code></pre>