Question: how to check whether a checkbox is checked or not in a table?
Answer: <script>
$('input[type="checkbox"]'). click(function(){
if($(this). prop("checked") == true){
console.log("Checkbox is checked." );
}
else if($(this). prop("checked") == false){
console.log("Checkbox is unchecked." );
}