JSFiddle - React, Tailwind, and code Playground
HTML
<input type="radio" id="input-id" value="radiobutton 1"> Click on radio button
JavaScript
$("#input-id").change(function () {
var atrvalue = $(this).attr('value');// get the value
alert(atrvalue);
});