title: Valums file upload - onComplete
body: <p>I'm using the Valums file upload pluging, and having trouble with the onComplete method/trigger/event, whatever it's called... It just never triggers. Put a breakpoint there, never happened. This is my code:</p>
  
  <pre><code>jQuery('.btnUploader').each(function (index) {
      var uploader1 = new qq.FileUploader({
          element: jQuery('.btnUploader')[index], // The HTML element to turn into the uploader
          onSubmit: function () {
              var componentId = $(this).attr('element').id;
              var teamId = clbTeams.GetValue();
              uploader1.setParams({
                  componentId: componentId,
                  teamId: teamId
              });
          },
          onComplete: function (id, filename, responseJSON) {
              alert('test');
          },
          action: getUrl('ControllerUploadHandler', 'TeamStatusSubmit'), // Action method that will handle the upload
          multiple: false, // Single or Mutliple file selection
          allowedExtensions: ['docx', 'jpeg', 'jpg', 'png', 'zip', 'ppt'] // File Type restrictions
      });
  });
  </code></pre>
  
  <p>I believe, something's wrong with the function there and its parameters. Anybody's got a solution?</p>