JSFiddle - React, Tailwind, and code Playground

HTML

<html>
    <head></head>
    <body>
        <input type=radio name="test" value="10"/>
    </body>
</html>

JavaScript

alert($("input:checked").val());
$("input:checked").click(function(index) {
  //$(this).parent().remove();
    alert('test')
});