JSFiddle - React, Tailwind, and code Playground

HTML

<!DOCTYPE html>
<html>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
    <script src="https://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>
    <script>
        $(document).ready(function() {
            $(document).on("tap", "input[type=radio]", function(e) {
                alert("tapped");
            });
        });
    </script>
    
    <body>
        <form action="#">
            <input type="radio" name="Gender" value="Male">Male
            <br>
            <input type="radio" name="Gender" value="Female">Female
            <br>
            <input type="submit">
        </form>
        <p>Click on the submit button to submit the form.</p>
    </body>

</html>