title: Uncaught TypeError: callback is not a function
body: <p>I have a function:</p>
  
  <pre><code>reportAdminActions.reportMemberList(project, function(data) {
      console.log(data);
  }); 
  </code></pre>
  
  <p>This function is called by another ajax operation like these:</p>
  
  <pre><code>reportMemberList: function(projectId, callback) {
      var projectDetail = new Object();
      projectDetail.projectId = projectId;
      var pluginArrayProject = new Array();
      pluginArrayProject.push(projectDetail);   
      $.ajax({
          url : ConfigCom.serverUrl + 'projectreportonmember',
          dataType: "jsonp",
          type: "POST",
          data: JSON.stringify(pluginArrayProject)
      }).always(function(data) {
          callback(data.responseText);
      });
  }
  </code></pre>
  
  <p>I need return value to function defined area after ajax operation. But here I got a error</p>
  
  <pre><code>Uncaught TypeError: callback is not a function
  </code></pre>