In the past, I could only use js to judge the traversal and then obtain
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
jQuery determines the number of selected check boxes
obtained through jQuery The number of selected items in the checkbox requires the use of jQuery's size() method or length attribute. The following example is to obtain the number of selected items in the checkbox through the length attribute.