JSFiddle - React, Tailwind, and code Playground

by tymeJV

HTML

<label class="radio inline"><input type="radio" id="radio_1" name="type" value="first">First Name

<input type="button"/>

JavaScript

$("input[type='button']").click(function() {
    $("#radio_1").prop("checked", true);
});