title: Jquery/Php returning processing status with Ajax POST
body: <p>I'm working on a page to process Excel data.</p>
  
  <p>Currently I have an index page where I once submit JSON data (filename, selected columns, worksheet,..) via $.ajax POST to a PHP page for processing (iterate every row with posted selection). But I would like to have some progress response from the processing page. Because now, it just submits and processes everything in the background without knowing if it's done or not.</p>
  
  <p>Is there some kind of way to:</p>
  
  <ol>
  <li>Redirect to the processing page, along with the JSON POST data, instead of an ajax post?</li>
  </ol>
  
  <p>OR</p>
  
  <ol start="2">
  <li>Return multiple JSON responses from one PHP page (like started, stopped,..) and fetch those responses in the same $.ajax success function? Add some kind of check function like </li>
  </ol>
  
  <p>IF last response-line == started, show image </p>
  
  <p>..after a while (keep checking json response..), </p>
  
  <p>IF last response-line == finished, hide image?</p>
  
  <p>I couldn't use the form submit action, because I'm sending a full JSON string instead of seperate input values.</p>
  
  <p>Am I overlooking something here or is this just not possible (with my way of processing)?</p>