So basically i want to count the number of checkboxes that are ticked. I get my code to the point where it counts them successfully, but I want to put in an alert that shows
Try this code
Apples Oranges Mango Yes
Javascript
function checkboxes() { var inputElems = document.getElementsByTagName("input"), count = 0; for (var i=0; i
FIDDLE DEMO