title: how to do file upload using jquery serialization
body: <p>So I have a form and I'm submitting the form through ajax using jquery serialization function </p>
  
  <pre><code>        serialized = $(Forms).serialize();
  
          $.ajax({
  
          type        : "POST",
          cache   : false,
          url     : "blah",
          data        : serialized,
          success: function(data) {
  
          }
  </code></pre>
  
  <p>but then what if the form has an <code>&lt;input type="file"&gt;</code> field....how do I pass the file into the form using this ajax serialization method...printing $_FILES doesn't output anything</p>