title: jQuery Ajax and redirect response from server
body: <p>I have a situation where I send jquery ajax post request but in my web application, the handler for this specific ajax request (after processing post parameters), will invoke an action in another controller ( not sure if this is called redirect) which basically renders the whole website page ( like page refresh). But I notice browser keeps display the same page instead of refreshing to the content of the new page.</p>
  
  <p>Is there something wrong? How can I deal with this situation?</p>
  
  <p>I had to edit my question because I changed my ajax call. </p>
  
  <p>This is what the code looks like:</p>
  
  <pre><code>function chkSubmit(event, actionType) {
  
  
          var msgid = showlst('Please wait ...');
          var data = ''
          if (actionType == 'IAmDone') {
              var letters = 'e,b,c'
  
              data = 'actionType=' + actionType + '&amp;letters=' + letters;
  
          } else data = 'actionType=' + actionType;
          $j.ajax({
              type: 'POST',       
              url: context + '/app/handleChk',
              data:  data
          });
  
          return false;
  }
  </code></pre>
  
  <p>The above function runs when a button on the page is clicked. But this same page keep displaying. The browser debugger shows that it did receive 200 OK response from the new action which it was supposed to refresh page with. I am using Chrome browser  and jquery 1.6.1</p>
  
  <p>Sorry for my typo in code sample. I corrected it.</p>