get boolean from checkbox 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');
}