title: How do I call a JavaScript function after selecting a file from the Select File window and closing it?
body: <p>I have a file input element</p>
  
  <pre><code>&lt;input type="file" id="fileid"&gt;
  </code></pre>
  
  <p>How do I call a JavaScript function after selecting a file from the dialog window and closing it?</p>