JSFiddle - React, Tailwind, and code Playground
HTML
<form>
<input type="radio" id="one" name="a" />
<input type="radio" id="two" name="a" />
<input type="radio" id="three" name="a" />
</form>
JavaScript
$(function(){
$('input').change(function() {
if ($('#one').is(':checked')) {
alert('checked');
} else {
alert('not checked');
}
});
});