JSFiddle - React, Tailwind, and code Playground
HTML
<input type="checkbox" class='boundParent' />
<input type="checkbox" class='boundParent' />
<input type="checkbox" class="boundChild" />
<input type="checkbox" class="boundChild" />
<button class="runTest">Disable Checked Items</button>
JavaScript
$('.runTest').click(function(){
var _el = $('[input:checked][class*="boundParent"]').prop('checked');
alert(_el);
_el.each(function(){
alert(_el);
//_el.prop("disabled", true)
})
//true === _el.prop('checked') ? _el.prop("disabled", true) : '';
//$('[input:checked][class*="boundParent"]').prop('checked', true).prop("disabled", true);
});