SyntaxFix
Write A Post
Hire A Developer
Questions
Following will return true when checkbox is checked and false when not.
$(this).is(":checked")
Replace $(this) with the variable you want to check.
And used in a condition:
if ($(this).is(":checked")) { // do something }