> However, checking/unchecking the checkbox in each row also triggers
> the event. Is there anyway of preventing this?
$("tr").click(function(event) {
if ($(event.target).is(":checkbox")) return;
alert($(this).attr("id"));
});
No comments:
Post a Comment