I have a switch button(0/1 Button). I click one time but return both 0 and 1 together. I need return 0 OR 1
<label class="switch s-outline s-outline-success">
<input type="checkbox" name="product-images-check" class="checkbox_check">
<span class="slider round"></span>
</label>
Jquery - JS
$("label").on("click", function() {
if($(this).children("input").is(":checked")) {
console.log("Checkbox is checked.");
}
else if($(this).children("input").is(":not(:checked)")) {
console.log("Checkbox is unchecked.");
}
console.log("CLICKED");
})

