[jQuery] Exclude checkbox
I have a table, and I want a click on each row to trigger a function. This is
my code:
$("tr.Order").each(function()
{
$(this).bind("click", function() { showOrderDetails($(this).attr("id"));
});
});
This works perfect! My problem is that I also have a checkbox on each row,
and that also gets affected. So when I click the checkbox it triggers
function showOrderDetails().
How to I remove the action from check box?
--
View this message in context: http://www.nabble.com/Exclude-checkbox-tp21686977s27240p21686977.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.