JSFiddle - React, Tailwind, and code Playground

HTML

<div class="chkHolder">
  <input type="radio" class="chk" name="a" id="a" />
  <input type="radio" class="chk" name="b" id="b" />
</div>

JavaScript

$(document).ready(function() {
    $('.chk').click('change', function() {
      alert('change event fired');
    });
  });