title: Upload File using ReactJS via BlueImp FileUpload jQuery plugin
body: <p>This is a newbie to ReactJS.</p>
  
  <p>Could anyone please advise on what to use or how to have a form (with a few input boxes and a file selector) be uploaded in React?</p>
  
  <p>Have been wrecking my nerves trying to use <a href="https://github.com/blueimp/jQuery-File-Upload/wiki/API">BlueImp JQuery-file-upload plugin</a>. The error messages are cryptic and have been unsuccessful getting any useful help from google.</p>
  
  <p>My code is as follows:</p>
  
  <pre><code>&lt;form id="myForm" enctype="multipart/form-data" onSubmit={this.handleSubmit}&gt;
    &lt;input type="text" name="name"&gt;
    &lt;input type="text" name="lastName"&gt;
    &lt;input type="file" accept="image/*" name="myPic"&gt;
  &lt;/form&gt;
  
  // Inside handleSubmit() of my component
  $('#myForm").fileupload('add', {url: "myurl"});
  </code></pre>
  
  <p>Thanks!</p>