title: JQuery ajax success vs done - success deprecated
body: <p>from what I understand this
  <code>$.ajax({}).success(function(){...});</code>  is deprecated so I should use done</p>
  
  <p><code>$.ajax({}).done(function(){...});</code></p>
  
  <p>however,
  this</p>
  
  <pre><code>   $.ajax({
          success: function(){...}
      });
  </code></pre>
  
  <p>is not deprecated, right? what is its functionality difference from that:</p>
  
  <pre><code>$.ajax({}).done(function(){...});
  </code></pre>
  
  <p>can they be used interchangebly any time or are they different.</p>
  
  <p>Is <code>success</code> only called when function succeeds while <code>done</code> is called all the time?</p>