title: Open file upload dialog after Ajax post success
body: <p>I have functionality in which it is required to open file upload dialog after Ajax call success event.</p>
  
  <p><strong>What I tried:</strong>
  I tried applying below simple code in ajax <strong>success:</strong> and <strong>complete:</strong> event but it is not working.</p>
  
  <pre><code>$.ajax({
          url: url,
          type: 'GET',
          dataType: 'json',
          data: { id: eoid },
          contentType: 'application/json; charset=utf-8',
          success: function (data) {
              // some logic
              $("#fileupload").click();
          }
      });
  </code></pre>
  
  <p><strong>What is problem:</strong>
  If I put simple button and try to execute above code, it is <em>working fine</em> and opening dialog - but it is <em>not working in case of ajax post afterwards</em>.</p>
  
  <p>Any guesses or am I missing something?</p>
  
  <p>Thank you.</p>