I'm trying to remove the last TWO instances of the break tags for the following code:
<table class="theprices">
<tbody>
<tr>
<td>
<a href="">Link</a>
<font>stupid font tag</font>
<br>
<b>Something Bold</b>
<br>
<br>
<a href="">Hidden Link</a>
<table class="addcart"></table>
<div>some div</div>
<div>some other div</div>
<td>
</tr>
</tbody>
</table>
$('.addcart').closest('br:nth-child(1)').remove();
$('.addcart').closest('br:nth-child(2)').remove();