I have a table that I want to add a click event to the tr elements. I have managed to do this:
$(function() {
$('tr').live('click', function() {
alert($(this).html());
});
});
However I have anchor tags within some of the td elemets of the row that I don't want the click event to fire for, and just have their default behavior.
Is this possible?
Thanks