JSFiddle - React, Tailwind, and code Playground
HTML
<html>
<head>
<script>
function del(a){
// $(function(){
alert($("#"+a).html());
// $.get('del.php?g='+a, function(b){$("#"+a).html(b);});
// });
}
$(function(){
$("span").click(function(){
del($(this).parent().parent().find('td').attr('id'));
});
});
</script>
</head>
<body>
<td id="aaaa">wtf</td>
<table>
<tr>
<td id='5c192.php'>
<div id='5c192.php-d'>
<a href='http://sandbox.phpcode.eu/g/5c192.php'>
http://sandbox.phpcode.eu/g/5c192.php
</a>
</div>
</td>
<td>
<span>
del
</span>
</td>
</tr>
</table>
</body>
</html>