Am trying to trigger an upload box (browse button) using jQuery. The method I have tried now is:
$(\'#fileinput\').trigger(\'click\');
Correct code: