<tr>
<td class="large-width">
<p>
<label>
<input type="checkbox" id="checkbox" ${todo.isCompleted ? 'checked="checked"' : ''} />
<span class="text">${todo.item}</span>
</label>
</p>
</td>
</tr>
<script>
$('#checkbox').change(function(){
console.log('something');
});
</script>
I can see that checkbox is changing it's state, but Change event is not working. I also tried on('change') and click events - they're not working either. By the way, I'm using materializecss.