title: How to open select file dialog via js?
body: <pre><code>$('#id').click();
  </code></pre>
  <p>It doesn't work on Chrome 26 on Mac OS.</p>
  <p>The problem actually is creation &quot;upload&quot; widget that can be integrated in a form.
  Widget will consists of two parts. The first part is div with initiator button and error/success messages.
  I think the way is put another form as the second part with file input and submit file into the iframe. After submition we fill hidden field in first part in main form or show errors in the same.</p>
  <p>Easy way is adding file-form into main-form, but it's prohibited.</p>