[jQuery] How to Trigger a link , without 'click' event

[jQuery] How to Trigger a link , without 'click' event


Hi,
I tried to used your plugin 'jqModal' and run 'Example 3a'.
http://dev.iceburg.net/jquery/jqModal/
How to 'trigger' the function without 'click' it on view(link) ??
for example, i have condition(php) that have to call/trigger the
function like :
<?
if ($i==1)
{
..... trigger this --> a href="#" id="ex3aTrigger"
}
?>
Thanks in advance