JSFiddle - React, Tailwind, and code Playground
HTML
<input type="radio" name="GRSReboot" value="1" checked>On</input>
<input type="radio" name="GRSReboot" value="2">Off</input>
JavaScript
var x = 100;
$("input[name=GRSReboot]").on('change', function () {
x++;
$("input[name=GRSReboot]:checked").prop('value', x);
alert('Value of On: ' + $("input[name=GRSReboot]")[0].value+', Value of Off: ' + $("input[name=GRSReboot]")[1].value);
});