title: Automatically submitting a form when an upload file is chosen
body: <p>I have a HTML page with the following input tag:</p>
  
  <pre><code>...
  &lt;input type="file" id="browseContactImageButton" /&gt;
  ... 
  </code></pre>
  
  <p>Clicking the button on the page results in Open File Dialog. If I want to do the actual uploading, I need another button to click (submit), because this input file button is used just to provide the path to the file. </p>
  
  <p>Is it possible to click the browse button, select the file and to start the uploading function immediately after the file has been chosen? If yes, could anyone provide the code snippet? Thanks. </p>