how to get checkbox boolean value in javascript code example
Example: javascript get boolean if checkbox is checked
var checkbox = document.getElementById('checkbox');
if(checkbox.checked){
console.log('test');
}
var checkbox = document.getElementById('checkbox');
if(checkbox.checked){
console.log('test');
}