javascript properties fotr checkbox code example
Example 1: fill checkbox javascript
// Check
document.getElementById("checkbox").checked = true;
// Uncheck
document.getElementById("checkbox").checked = false;
Example 2: jquery on checkbox checked es6
$("input[type='checkbox']").on('change', (e) => {
console.log("Checked Value 'is' :: ", e.currentTarget.checked);
})