JQUERY, how to call event without a button ?

JQUERY, how to call event without a button ?

Hi, I have this button that triggers a jquery window to upload a file :

<a href="#" id="upbutton" class="button small pop2" data-bpopup='{"content":"iframe","contentContainer":".content","loadUrl":"mfu.php?botidtof=$RCbotid"}'>UPLOADBUTTON</a>

And this is how I am launching the event with JQuery :

$('#upbutton').trigger('click');

This works just fine. But I want to delete the <a> tag inside the body and call the event directly from JQuery, How can I do this ????  Thanks.