JSFiddle - React, Tailwind, and code Playground
by wirey00
HTML
<input type="checkbox" class="checkbox" />
JavaScript
$('.checkbox').change( function(e) {
e.preventDefault();
$(this).prop('checked',true);
});
by wirey00
<input type="checkbox" class="checkbox" />
$('.checkbox').change( function(e) {
e.preventDefault();
$(this).prop('checked',true);
});