Am trying to trigger an upload box (browse button) using jQuery. The method I have tried now is:
$(\'#fileinput\').trigger(\'click\');
or else simply
$(':input[type="file"]').show().click().hide();