JSFiddle - React, Tailwind, and code Playground
HTML
<br>
<div>
<input type="checkbox" id="checkit1" /> Cash <br>
<input type="checkbox" id="checkit2" /> Square <br>
<input type="checkbox" id="checkit3" /> Paypal <br>
------------------------------------------------<br>
<input type="checkbox" id="checkit4" /> BBT <br>
<input type="checkbox" id="checkit5" /> Citi <br>
**<input type="checkbox" id="click1" /> dep <br>
**<input type="checkbox" id="click2" /> trans <br>
**<input type="checkbox" id="click3" /> check <br>
</div>
JavaScript
var check = $("#checkit1");
$("#checkit1").on('click',checkStatus);
function checkStatus(){
if(check.is(':checked'))
{
$("#click1").prop('disabled', true);
$("#click2").prop('disabled', true);
$("#click3").prop('disabled', true);
}
else{
$("#click1").prop('disabled', false);
$("#click2").prop('disabled', false);
$("#click3").prop('disabled', false);
}
}