Am trying to trigger an upload box (browse button) using jQuery. The method I have tried now is:
$(\'#fileinput\').trigger(\'click\');
That's on purpose and by design. It's a security issue.