[jQuery] Exclude single <td> from whole <tr>
I found a good solution to make a complete table row clickable:
<tr link="/folder/here.php">.....
$("tr[link]").bind("click", function(){
var link = $(this).attr("link");
window.location.href = link;
});
Only problem in my case:
My tbale has as first <td> a checkbox to select my products.
How can I change the jquery above to exclude a <td> containing a
<input type="checkbox"....>?
Is there a way?
Thanks!!