title: Using form input to access camera and immediately upload photos using web app
body: <p>I came across <a href="https://stackoverflow.com/a/13489553/341813">this answer</a> which is brilliant:</p>
  
  <blockquote>
    <p>In iPhone iOS6 and from Android ICS onwards, HTML5 has the following
    tag which allows you to take pictures from your device:</p>
  
  <pre><code>    &lt;input type="file" accept="image/*" capture="camera"&gt;
  </code></pre>
    
    <p>Capture can take values like camera, camcorder and audio.</p>
  </blockquote>
  
  <p>Is it possible to take this one step further by using ajax of some kind to immediately upload photo after its taken?</p>
  
  <p>For example, using my phone, once I tap on the input, it then opens the camera which will immediately allow me to take a photo and save it. When I save it to camera, it's then listed by the input button as the file to upload.</p>
  
  <p>What would it take for this photo to be immediately uploaded instead of waiting for the user to click the Submit button of the form?</p>