I am using the uploadifive jquery plugin for uploading obituary mugshots. Instead of using the usual uploadifive-generated button, I would like the user to be able to double-click on the placeholder image and have that trigger the file dialog box. I want to hide all the other uploadify elements.
I am able to use this:
$( "input:file" ).trigger('click');
and this opens the dialog box, but when I choose a file, the dialog box opens again 2-3 more times.
Is there an even that I can fire this so that it works correctly?