i have a HTML table echoed in PHP:
echo '<tr class="notfirst" style="cursor:pointer;" onclick="document.location=\'editinvoice.php?seq='.$result["sequence"].'&inv='.$result["invoice_number"].'\'">
<td width="20"><input type="checkbox" name="check'.$counter.'" id="check'.$counter.'" onclick=\'add('.$total.', this);\' /></td>
<td width="150">'.$result["invoice_number"].'</td>
<td width="250">'.$company.'</td>
<td width="100">'.$date.'</td>
<td width="100">£'.$result["total"].'</td>
<td width="100">£'.$result["total"].'</td>
</tr>';
so when you hover over it, it highlights the whole row and wherever you click on the row it opens the link but when i check the checkbox it also opens the link - i want to stop this