JSFiddle - React, Tailwind, and code Playground

HTML

<form id="form1"  method="post"  name="bestellformular">
    <h1>click here:</h1>
    <p>
<input value="101" name="flyer_anzahl" type="radio"  /> 1.000 
<input name="flyer_anzahl" type="radio" value="102" checked="checked"/> 2.500
<input name="flyer_anzahl" type="radio" value="103" /> 5.000
<input name="flyer_anzahl" type="radio" value="104" /> 10.000
    </p>
</form>
<!-- [...] -->

JavaScript

$(document).ready(function() {
   //the script works, but the clicked radio isn't checked=checked
    //mysql and php works good
    
$('#form1').live("click change", function() {
        $.ajax({
        type    : "POST",
        cache    : false,
        url        : "berechnung_ajax.php",
        data    : $(this).serializeArray(),
        success : function(data) {
                        $('#berechnung').html(data);
        }});
    return false;
    });    
    });
/*
My aim: 

$('#form1').find('.divtoclick').live("click", .....
$('#form1 input').live("change", .....
*/