kamikaze_pilot kamikaze_pilot - 1 year ago 157
HTML Question

trigger file upload dialog using javascript/jquery

instead of using

<input type="file">
, is it possible to use
<input type="text">
and then script it using javascript or jquery such that when the text box is clicked, the file upload dialogue shows up.....(and have it actually uploaded when it's submitted into a form)

Answer Source

You might want to look at one of the many available jQuery file uploader plugins rather than doing it yourself.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download