I think you might mean “how to check if at least one checkbox is checked?”
<div class="a_list"><input type="checkbox" /><p>Testing A list </p></div>
<div class="a_list"><input type="checkbox" /><p>Testing A list </p></div>
<div class="a_list"><input type="checkbox" /><p>Testing A list </p></div>
<div class="a_list"><input type="checkbox" /><p>Testing A list </p></div>
if (!$(".a_list input:checked, .b_list input:checked").length){
alert("Please make a selection");
}
inputs do not have </input>
9
solved how to check if a checkbox has been selected? [closed]