JSFiddle - React, Tailwind, and code Playground

by Norlihazmey Ghazali

HTML

<table border="1">
    <tr onclick="return alert('Hai')">
        <td>
            <input type="checkbox" />Click me
        </td>
    </tr>
<table>

JavaScript

$('input').click(function(e){
    e.stopPropagation();
});