How to call a method in its onSubmit event?
<p>I try to implement file uploader script from <a href="https://github.com/valums/file-uploader" rel="nofollow">this Github project</a> and I need to set some additional params from the form before submitting the upload.</p>

<p>According to the documentation it's being set like that:</p>

<pre><code>uploader.setParams({
   anotherParam: 'value' 
});
</code></pre>

<p>How can I set these parameters in the onSubmit event? Something like:</p>

<pre><code>var uploader = new qq.FileUploader({
  onSubmit: function() {
    // &lt;- I want to set the params here
  }
});
</code></pre>

<p>I tried <code>self.setParams()</code> and <code>this.setParams()</code> but no luck. I'm not that advanced in javascript so I would be thankful for any help.</p>
