I'm using javascript with JQuery and am running into the following problem:
I assigned a tr in a table to go somewhere using the onclick attribute (since you can't use a a tag with a tr). Since the code was so trivial, I just did inline javascript without JQuery. The issue is that I have another link inside one of the table cells, but when I click that link, the tr link gets activated first and I'm sent to the wrong page.
This is what my tr link looks like: onclick="javascript:document.location.href = '/1/display"
This is one of the JQuery clicks on a cell. There are regular a tag links as well:
thi.click(function(e){ // Thi is a a tag.
    open_entry_id = thi.attr('data-id');
});
Is there anyway to fix it so that the tr link is only used when none of its children are clicked? (By children, I mean children that are clickable. I still want it to link when I click regular text in the tr)