Jquery: how to trigger td a when tr is clicked
<p>I have a table where the first td in the trs contains a link. I want this anchor to be triggered (clicked) no matter where i click in the containing tr. </p>

<p>I have read and tried alot of recents post and suggentions on this topic but i can't get this to work. I tried the trigger() and triggerHandle() functions, but it does not trigger the anchor click that i want.</p>

<p>There must be others who have had the need to trigger a anchor click when a tr is clicked, so that the user doesn't have to click the tds anchor link. It sure is a nice UI feature if its possible?</p>

<p>Here is the code i have tried:</p>

<pre><code>&lt;head&gt; 
    &lt;meta http-equiv="content-type" content="text/html; charset=utf-8" /&gt;  
    &lt;script type="text/javascript" src="javascripts/jquery-1.4.2.js"&gt;&lt;/script&gt;
    &lt;script type="text/javascript" charset="utf-8"&gt;
        /* Initialise the table with the required column sorting data types */
        jQuery(document).ready(function () {
            jQuery("#rowClick tr").click(function (e) {
                jQuery("#clickevent", this).trigger("click");
            });
        });
    &lt;/script&gt; 
&lt;/head&gt; 
&lt;body id="dt_example"&gt; 
    &lt;table id="rowClick"&gt;
        &lt;thead&gt;
            &lt;tr&gt;
                &lt;th style="width: 30px"&gt;id&lt;/th&gt;
                &lt;th style="width: 200px"&gt;navn&lt;/th&gt;
            &lt;/tr&gt;
        &lt;/thead&gt;
        &lt;tbody&gt;
            &lt;tr&gt;
                &lt;td&gt;&lt;a href="datatabletext.asp?test=1" id="clickevent"&gt;1&lt;/a&gt;&lt;/td&gt;
                &lt;td&gt;Jesper&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;&lt;a href="datatabletext.asp?test=2" id="clickevent"&gt;2&lt;/a&gt;&lt;/td&gt;
                &lt;td&gt;Bjarne&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;&lt;a href="datatabletext.asp?test=3" id="clickevent"&gt;3&lt;/a&gt;&lt;/td&gt;
                &lt;td&gt;Søren&lt;/td&gt;
            &lt;/tr&gt;                            
        &lt;/tbody&gt;
    &lt;/table&gt;
&lt;/body&gt; 
</code></pre>
