<script>
function checkValue(){
var checkboxes = $("input[type='checkbox']");
if ( $('#student').val() == "" ) {
alert('Please select any student!');
return false;
}
else {
if(checkboxes.is(":checked")) {
return true;
}
}
I have my checkboxes working just fine; I need to know how to proceed with it so that it stores the values of checkboxes to DB.