JSFiddle - React, Tailwind, and code Playground

by ChrisStanyon

HTML

<table>
    <tr><td>a1</td><td>a2</td><td><input type="text" value="a3" /></td></tr>
    <tr><td>b1</td><td>b2</td><td><input type="text" value="b3" /></td></tr>
    <tr><td>c1</td><td>c2</td><td><input type="text" value="c3" /></td></tr>
</table>

JavaScript

$('tr').not(':first').each(function(i,row) {
    console.log( $('td:last input', row).val());
});