JSFiddle - React, Tailwind, and code Playground
by Alex Baumgertner
HTML
<form>
<input type="radio" id="is-checked" name="name" value="1" checked />
<input type="radio" name="name" value="2" />
<input type="radio" name="name" value="3" />
</form>
<form>
<input type="radio" name="name" value="1" />
<input type="radio" name="name" value="2" />
<input type="radio" name="name" value="3" />
</form>
JavaScript
$('form').on('change', function() {
alert($('#is-checked').prop('checked'));
});