title: jQuery Ajax File Upload
body: <p>Can I use the following jQuery code to perform file upload using POST method of an ajax request ?</p>
  
  <pre><code>$.ajax({
      type: "POST",
      timeout: 50000,
      url: url,
      data: dataString,
      success: function (data) {
          alert('success');
          return false;
      }
  });
  </code></pre>
  
  <p>If it is possible, do I need to fill <code>data</code> part? Is it the correct way? I only POST the file to the server side.</p>
  
  <p>I have been googling around, but what I found was a plugin while in my plan I do not want to use it. At least for the moment.</p>