title: How would I use jquery ajaxstart and ajaxstop with $.post?
body: <p>Basically I want to show a loading gif... </p>
  
  <p>here's the code I'm using:</p>
  
  <pre><code>$("#mail-change input[type=submit]").click(function(event){
  
  $.post('user_settings.php', $("#mail-change").serialize(), function(res) {
  
  $(res).insertBefore(".grey");
  
  }, 'html')
  
  });
  </code></pre>