I'm trying to trigger the click event of an <input type="file" /> via javascript (onclick the file selection dialogue should open). So far I've tried:
$('#uploadFile').trigger('click')
.trigger('submit')
.submit()
.post(); // Stacked for brevity
No dice.
Is there something special about this input that prevents these approaches from working?
Here's a Fiddle.