Have you tried simply doing:

$("#tb a").click(function() {
       alert('Test');
 });

Depending on the table's code ">" will break your heart...

Wil

On Wed, Nov 18, 2009 at 4:25 AM, Denis Caggiano <denisribe...@gmail.com>wrote:

> Hi Greg,
> I'm defined an ID to my table (ID = "tb") that have my report, and
> trying to code like this:
>
>    $("#tb > a").click(function() {
>        alert('Test');
>    });
>
> But it doesnt working.
>
> In other words, how can I define that all <a> in my table triggers an
> event when clicked?
>
> Tks
>

Reply via email to