JSFiddle - React, Tailwind, and code Playground
by xawixawxaw
HTML
<input type="checkbox" id="home">
JavaScript
$("#home").click(function() {
if($(this).is(":checked"))
{
alert('home is checked');
}
});
by xawixawxaw
<input type="checkbox" id="home">
$("#home").click(function() {
if($(this).is(":checked"))
{
alert('home is checked');
}
});