title: jQuery.ajax handling continue responses: "success:" vs ".done"?
body: <p>I have been working with jQuery and AJAX for a few weeks now and I saw two different ways to 'continue' the script once the call has been made: <code>success:</code> and <code>.done</code>.</p>
  <p>From the synopsis from the <a href="http://api.jquery.com" rel="noreferrer">jQuery documentation</a> we get:</p>
  <blockquote>
  <p>.done(): Description: Add handlers to be called when the Deferred object is resolved.</p>
  <p>success: (.ajax() option): A function to be called if the request succeeds.</p>
  </blockquote>
  <p>So, both do something after the AJAX call has been completed/resolved. Can I use one or the other randomly? What is the difference and when one is used instead of the other?</p>