Am trying to trigger an upload box (browse button) using jQuery. The method I have tried now is:
$(\'#fileinput\').trigger(\'click\');
Check out my fiddle.
http://jsfiddle.net/mohany2712/vaw8k/
.uploadFile { visibility: hidden; } #uploadIcon { cursor: pointer; }