Instead of using an input type=\"file\"
html tag, is it possible to bring up a choose a file to upload
dialog box by clicking a input type=\"but
Check this fiddle: http://jsfiddle.net/A4BS7/1/
NOTE:
a) This may not work well on older browsers (mainly IE) that don't fire the change event on the file input.
b) For the upload to work as expected, you'll need to include the element in your form. The text element can be used for displaying the selected file at best.