var selectedItems = new Array(); $("input:checked").each(function() {selectedItems.push($(this).val());}); alert( 'the number of selected checkboxs is: ' + selectedItems.length) ;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)