Like a lot of people, I\'d like to customize the ugly input type=file
, and I know that it can\'t be done without some hacks and/or javascript
. But,
I would use SWFUpload or Uploadify. They need Flash but do everything you want without troubles.
Any based workaround that tries to trigger the "open file" dialog by means other than clicking on the actual control could be removed from browsers for security reasons at any time. (I think in the current versions of FF and IE, it is not possible any more to trigger that event programmatically.)