I have an event on clicking the top <tr>
and then also an event on clicking the tr > td > button
. When i click the tr > td > button
, the related onclick()
function is running but, the function related on <tr>
is also running after previous.
Like:
<tr onclick="run_tr();">
<td><input type="button" onclick="run_td();" /></td>
</tr>
How can i stop automatically calling the next call by clicking the button?