Hey, I'm having an issue with a condition. When I uncheck the checkbox, it doesn't uncheck. I've tried to make a block display, but the JavaScript isn't working.
I attempted to add:
document.getElementById("Reload").style.display = "block";
$("#customCheck1").on("change", function() {
if ($(this).is(":checked")) {
$('#lblauto').text("Auto Reload ON")
document.getElementById("Reload").style.display = "block";
} else {
$('#lblauto').text("Auto Reload OFF")
}
})
(jQuery)
Please assist, thank you!