title: plupupload POST data to dump.php using ajax through start upload button
body: <p><strong>I WANT TO PASS PLUPUPLOAD ARRAY USING AJAX THROUGH AUTOCLICK SAVE BUTTON, WHILE I PRESS START UPLOAD BUTTON</strong> I GET output from dump.php like html5_Plupupload_count=0</p>
  
  <pre><code>&lt;form method="post" name="form1" id="form1" action="dump.php" enctype="multipart/form-data"&gt;
          &lt;div id="html5_uploader" style="width: 600px; height: 315px;"&gt;Your browser doesn't have HTML 4 support.&lt;/div&gt;       
      &lt;input type="submit" value="Save" class="plupload_button" name="subsession" id="subsession"/&gt;
      &lt;input name="eid" type="hidden" id="eid" value="&lt;?php echo time(); ?&gt;" /&gt;
  &lt;/form&gt;
  $(function() 
  {
      $("#html5_uploader").pluploadQueue(
          {
          runtimes : 'html5',
          url : 'upload.php',        
          unique_names : true,
  
          filters : [
              {title : "Image files", extensions : "tiff,png,gif,jpg,jpeg,ico,bmp"}
          ]
      });
      $('.plupload_start').click(function(e)
      {   
         $('#subsession').click();
      });
      $(document).ready(function()
      {
          $('.plupload_start').click(function() 
          {
                $.ajax({
                   type: "POST",
                   url: "dump.php",
                   data: {'form1': $("#form1").serialize()},
                   success: function(msg)
                   {
                      alert("Form Submitted: " + msg);
                   }
                });
          });
  
      });
  });
  </code></pre>