JSFiddle - React, Tailwind, and code Playground

HTML

<table>    
    <tr><td><a href="http://google.com"</td></tr>
    <tr><td><a href="http://google.com"</td></tr>
    <tr><td><a href="http://google.com"</td></tr>
</table>

JavaScript

$('table tr td a').each(function (){
    alert("Your href is "+$(this).attr('href'));
})