JSFiddle - React, Tailwind, and code Playground
HTML
<table class="OfficeInfo" border="0" style="width: 100%" cellspacing="10px" cellpadding="15px">
<tr>
<td>
2
</td>
<td class="Office1" style="width=40%">
<button class="Address">
SALVA
</button>
</td>
</tr>
</table>
JavaScript
$(".Address").click(function() {
var id = $(this).parent().parent().find('td').first().text();
alert("FAVA"+id);
});