title: Jquery Ajax .done() behavior
body: <p>I am wondering about the behavior of the code below. <code>Ajax.chan(tid)</code> is the ajax call found below. The other three functions are not Ajax related. When I don't pass a parameter to <code>Display.channelLoad</code>, the code works as expected and these functions run after the ajax is complete. But if I change that to <code>.done(Display.channelLoad())</code>, this function runs before the ajax call is complete. This is probably some basic javascript knowledge that I am missing, but I would like to pass a parameter to <code>Display.channelLoad</code> and understand what is occurring here.</p>
  
  <pre><code>AjaxCall.chan(tid).done(List.articles)
                    .done(Display.channelLoad)
                    .done(Display.unblockUI);
  </code></pre>
  
  <p>AjaxCall.chan()</p>
  
  <pre><code>var AjaxCall = {
      chan: function(tid) {
          return getArticles = $.ajax({
              url: "http://ainonline.com/api/channel/" + tid,
              context: document.body,
              dataType: 'jsonp'
          });
      }
  </code></pre>
  
  <p>Thank you.</p>