title: Success callback for POST requests sent with form element
body: <p>I'm just wondering if there is a way to be notified (on the client side) when you submit a POST request with the HTML form element.</p>
  
  <p>Is there a method of implementing logic based on the data sent back to the browser (similar to jQuery's <code>success</code> callback function) after a POST request has been sent to the server. </p>
  
  <p>With jQuery <code>$.ajax()</code> I can implement logic in the callback function based on what the server sends to me (like put data in some element if the data is x). Can I possibly do something similar with the native form element --> <code>&lt;form method="POST"&gt;</code> ?</p>