How to trigger a js function with Jquery
<p>I want to trigger this jquery function by using trigger method of JQuery. How can I do that ? Actually I dont even know the trigger method is suitable for user defined functions. </p>

<pre><code>$('a.pop').click(function() {alert('testing'); }
</code></pre>

<p><strong>this is not working</strong></p>

<pre><code> $('a').trigger(testtt);

 var testtt = function(){ alert('aaa');} 
</code></pre>
