<table style="border: 1px solid black" width="100" height="100">
<tr onClick="javascript:alert('123');">
<td><input type="checkbox" /></td>
</tr>
</table>
<script>
document.querySelector('input[type=checkbox]').addEventListener('click', function (e) {
e.stopPropagation();
})
</script>