JSFiddle - React, Tailwind, and code Playground
HTML
<table id='demoTable'> <tr> <td><p>8: Tap on APN and Enter <B>www</B>.</p> <INPUT id=h150000000000000109743 class=hid value="test value" type=hidden> <INPUT id=h250000000000000109743 class=hid1 value="26,222,98,10,50000000000000109744,T,~25,221,99,10,,T,www" type="hidden"> </td> </tr> </table>
JavaScript
$(function(){
$("td").click(function(){ console.log($("td").find("p"));
$("td").find("p").remove(); });
});