Here is a little example: (live demo here)
HTML:
<input id="file" type="file" />
Javascript:
$(function() {
$("#file").click();
});
In Firefox 3.6.6 nothing happens, while in IE7 the "Choose File" dialog box is opened.
Any ideas how to open the "Choose File" dialog box in Firefox without clicking on the Browse button ?