I have a table with entries and each row of the table is clickable (when you click the row, it goes to a details page). Everything is ok except the fact that if I put an anchor on the same row, it will try to go to anchor's URL and immediately after it will redirect to the row's attached link.
How can I prevent the row action using jQuery?
<tr class="clickable-row" ...>
    <td><a href="..."></a></td>
</tr>
$('.clickable-row').click(function () {
        document.location = "...";
});
 
     
     
    