JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/base/jquery-ui.css">
<table><tr><td></td><td><input type="button" name="button" value="button">dasdsadsadsa</td></tr></table>

JavaScript

$(function() {
    $('tr').click(function(){window.alert('tr');});
    $(':input').click(function(e){
        e.stopPropagation();
        window.alert('input');
    });
});