Joined
·
1 Posts
essentially it using IF statements and as simple as possible im a beginner and could really use help
function countBox(field){
var count=0;
for (i = 0; i < field.length; i++) if(field[i].checked = true) count++;
count=count*10;
document.getElementById("div").innerHTML=count;
}