title: Sending FormData with a binary data by using jQuery AJAX
body: <p>I'd want to send a <code>FormData</code> by using jQuery AJAX, like:</p>
  
  <pre><code>var uploadFormData = new FormData();
  uploadFormData.append("name","value");
  
  $.ajax({
      url : "(URL_target)",
      type : "POST",
      data : uploadFormData,
      cache : false,
      contentType : false,
      processData : false,
      success : function(r) {
          alert("Success!");
      }
  });
  </code></pre>
  
  <p>But I also want to send a binary data by using jQuery AJAX, like:</p>
  
  <pre><code>var data = (...);
  
  $.ajax({
      url: "(URL_target)",
      type: "POST",
      data : data,
      cache : false,
      contentType: "application/octet-stream",
      processData: false,
      success : function(r) {
          alert("Success!");
       }
  });
  </code></pre>
  
  <p>How can I combine them into one data and send it out?</p>