kamikaze_pilot kamikaze_pilot - 4 months ago 57
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)


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