JSFiddle - React, Tailwind, and code Playground
by rajaadil
HTML
<table>
<tr onclick="function1(event);">
<td>First Td....</td>
<td onclick="function2(event);">second td....</td>
</tr>
</table>
JavaScript
function function1(e)
{
//your statements.
alert("function1");
return false;
}
function function2(e)
{
//your statements.
alert("function2");
e.stopPropagation();
}