Trigger click on child when clicking <tr>

jquery

Solution

Call native DOM click method:

$(this).find('td.first a').get(0).click();

Problem

I have the following: ``` <table> <tr> <td class="first"><a href="somelink">Griechenland, Mykonos</a></td> <td class="second">test</td> <td class="third">test</td> <td class="last">699.-</td> </tr> </table> ``` I want when I click the tr, to trigger the click of the `<a>` inside it. I tried the following but it isn't working: ``` $('tr').click(function() { $(this).children('td.first a').click(); }); ```

Original source