JSFiddle - React, Tailwind, and code Playground

HTML

<table>
  <th> 1 </th> <th> 2 </th>
  <tr> <td> Yes
      <input type='radio' name='test' value='yes' /> </td> </tr>
 <tr>
  <td> No
  <input type='radio' name='test' value='no' />
  </td>
  </tr>
  </table>

JavaScript

$(function() {
$('table tr').click(function() {
      $(this).find('input:radio').prop('checked', true);
});
});