I'm currently trying to restyle (eclipse) a fileupload element on my website with this reference. All well and the result is promising, when I put the fileupload element below my new alternative image (as instructed on afore mentioned tutorial). Now I want to place the fileinput element somewhere else and bind a click function on the image to a click on the fileinput element to fire a file browser dialog.
Alas the usual $('input:file').click()
or $('input:file').trigger('click')
is not working.
I'm also interested in other ways to fire a file dialog, without a file upload element (it is only for javascript processing, no upload to the server).
Oh it does not need to work on any version of IE.