JSFiddle - React, Tailwind, and code Playground

HTML

<label><input type="checkbox" value="1" id="checkbox_id" />test</label>

JavaScript

$('#checkbox_id').bind('change',function(){
    alert('change');
}).bind('click',function(event){
    alert('click');
});