title: Need advice on Ajax fileupload
body: <p>I am trying get use of Ajax file uploader
  <a href="http://valums.com/ajax-upload/" rel="nofollow">http://valums.com/ajax-upload/</a></p>
  
  <p>The doc says:</p>
  
  <pre><code>var uploader = new qq.FileUploader({
      // pass the dom node (ex. $(selector)[0] for jQuery users)
      element: document.getElementById('file-uploader'),
      // path to server-side upload script
      action: '/server/upload'
      // WHAT IS action:?
  });
  </code></pre>
  
  <p>The <strong>element</strong> property means what element ID is used as Upload button. 
  What is <strong>action</strong>? It must be some sort of handler for uploaded files?</p>
  
  <p>How I can handle uploaded files and where are located?</p>
  
  <p>The doc says </p>
  
  <pre><code>// events         
  // you can return false to abort submit
  onSubmit: function(id, fileName){},
  onProgress: function(id, fileName, loaded, total){},
  onComplete: function(id, fileName, responseJSON){},
  onCancel: function(id, fileName){},
  </code></pre>
  
  <p>I want when upload complete display a list of files somewhere, say in div with ID=list</p>
  
  <p>The short snippet will be highly appreciated and awarded.</p>