title: change event is not fired on Microsoft Edge on first click
body: <p>I am trying to implement drag and drop and browse files. I have a <code>&lt;div&gt;</code> with id <code>#box</code> and trying to trigger <code>&lt;input type="file" id="imageUpload" /&gt;</code> on click event of that <code>&lt;div&gt;</code>. The following code is working fine on Mozilla Firefox and Google Chrome but having problem on <strong>Microsoft Edge</strong>.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$(document).off().on('click', '#box', function () {
      $('#imageUpload').trigger('click');
      $('#imageUpload').off().on('change', function () {                        
          var imageLoader = document.getElementById('imageUpload');
          selectedFiles = imageLoader.files;
          imageBrowseUploader(selectedFiles);
      });
  });</code></pre>
  <pre class="snippet-code-css lang-css prettyprint-override"><code>#box {
      border: 1px dotted #0B85A1;
      width: 100%;
      height: 150px;
      color: #92AAB0;
      text-align: center;
      font-weight: 500;
  }
  
  #imageUpload {
      visibility: hidden;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;div id="box"&gt;
      &lt;b&gt;Drag and drop or click here&lt;/b&gt; to upload your image.
  &lt;/div&gt;
  &lt;input type="file" id="imageUpload" /&gt;</code></pre>
  </div>
  </div>
  </p>