JSFiddle - React, Tailwind, and code Playground

HTML

<table>
   <tr>
      <td>1</td><td>1</td><td>1</td>
   </tr>
   <tr>
      <td>2</td><td>2</td><td>2</td>
   </tr>
    <tr>
      <td>3</td><td>3</td><td>3</td>
   </tr>
</table>

JavaScript

$(function(){

    $("table tr").each(function(){
        $(this).find("td").eq(2).click(function(){
            console.log($(this).text());
        });

});
});