JSFiddle - React, Tailwind, and code Playground

HTML

<table>
    <tr>
        <td class="data" value="A1.4"></td>
    </tr>
    <tr>
        <td class="data" value="A1.5"></td>
    </tr>
</table>
<table>
    <tr>
        <td class="data" value="A2.4"></td>
    </tr>
    <tr>
        <td class="data" value="A2.5"></td>
    </tr>
</table>

JavaScript

$('tr').find('td.data').each(function( index ) {
    alert( index + ": " + $(this).attr('value') );
    // You should make the ajax call in here...
});