JSFiddle - React, Tailwind, and code Playground

HTML

<div class="removeModal" data-id="85934">
    <input type="radio" name="AdsArchive[85934]" checked="checked" value="1"/>Yes<br/>
    <input type="radio" name="AdsArchive[85934]" value="2"/>No<br/>
</div>
<div class="removeModal" data-id="85935">
    <input type="radio" name="AdsArchive[85935]" checked="checked" value="1"/>Yes<br/>
    <input type="radio" name="AdsArchive[85935]" value="2"/>No<br/>
</div>

JavaScript

$(function(){
    $('.removeModal').on('click','input',function(){
        var id = $(this).parent().data('id');
        if($(this).val() == 1 ) {
            alert(id+': on');
//            $("#media-"+id).prop('disabled',true);
//            $("#date_sold-"+id).prop('disabled',true);
        } else {
            alert(id+': off');
//            $("#media-"+id).prop('disabled',true);
//            $("#date_sold-"+id).prop('disabled',true);
        }
    });
});