JSFiddle - React, Tailwind, and code Playground

HTML

<a href="##" class="clickevent">Click Here</a>
<table>
    

    <tr id="test_tr">
      <td>
          <a href="##" class="secondlink">Add New Row</a>
      </td>    
    </tr>
    


</table>

JavaScript

$(document).ready(function() {
    $(".clickevent").click(function(e){
      e.preventDefault();
      alert($("#test_tr").find(".secondlink").tagName);
    });

});