SyntaxFix
Write A Post
Hire A Developer
Questions
To return true or false depending on whether a checkbox is checked or not, I use this in JQuery
let checkState = $("#checkboxId").is(":checked") ? "true" : "false";