JSFiddle - React, Tailwind, and code Playground

HTML

<table>
    <tr>
        <td>a</td>
        <td><input type='buttom' name='remove'></td>
    </tr>
    <tr>
        <td>a</td>
        <td>b</td>
    </tr>
    <tr>
        <td>a</td>
        <td>b</td>
    </tr>
    <tr>
        <td>a</td>
        <td>b</td>
    </tr>
</table>

JavaScript

console.log($('table tr:last td:first').html());