title: Plupload - Upload multiple image simultaneously
body: <p>I have use plupload image upload plugin in my website(asp.net), I have modify plupload plug-in for upload multiple image simultaneously. </p>
  
  <p>Old Code</p>
  
  <pre><code>function t() {
          var x, y = 0, w;
          if (this.state == g.STARTED) {
              for (w = 0; w &lt; u.length; w++) {                    
                  if (!x &amp;&amp; u[w].status == g.QUEUED) {
                      x = u[w];
                      x.status = g.UPLOADING;
                      if (this.trigger("BeforeUpload", x)) {
                          this.trigger("UploadFile", x)
                      }
                  }
                  else {
                      y++
                  }                    
              }
              if (y == u.length) {
                  this.stop();
                  this.trigger("UploadComplete", u)
              }
          }
      }
  </code></pre>
  
  <p>i have modify <code>if (!x &amp;&amp; u[w].status == g.QUEUED) {</code> to <code>if (u[w].status == g.QUEUED) {</code> (remove <code>!x</code> from if condition) and it is uploading multiple image simultaneously.</p>