JSFiddle - React, Tailwind, and code Playground
by Brodingo
HTML
<input type=checkbox checked=checked id=one>
<input type=checkbox id=two>
JavaScript
if ($('#one').is(':checked')){
$('#two').prop('checked', true);
}
by Brodingo
<input type=checkbox checked=checked id=one>
<input type=checkbox id=two>
if ($('#one').is(':checked')){
$('#two').prop('checked', true);
}