jQuery trigger('click') problem
<p>I have clickable row, that will fire link <code>onclick</code> event, but <code>trigger()</code> cause a new click event on <code>tr.clickable</code> and go into loop. How to prevent this ?</p>

<pre><code>&lt;table&gt;
    &lt;tr class="clickable"&gt;
        &lt;td&gt;Test row&lt;/td&gt;
        &lt;td&gt;&lt;a href="#" onclick="alert('click');" class="trigger"&gt;&lt;/a&gt;&lt;/td&gt;        
    &lt;/tr&gt;
&lt;/table&gt;
</code></pre>

<p>js:</p>

<pre><code>$('tr.clickable').click(function(){
    var trigger = $(this).find('a.trigger');
    trigger.trigger('click');
});
</code></pre>

<p>Live demo <a href="http://jsfiddle.net/fg6za/" rel="nofollow">here</a>.</p>
