If you only want to call it once, then you might be better off with help . one () .
If you want to call an event that has already been bound, you can call the method . trigger () .
$('#foo').bind('click', function() {
alert($(this).text());
});
$('#foo').trigger('click');