PrepAway - Latest Free Exam Questions & Answers

you need to write e jquery that retruns the number checked checkboxes

jQuery CheckBoxes In a web page with chechboxes you need to write e jquery that retruns the
number checked checkboxes

PrepAway - Latest Free Exam Questions & Answers

A.
$(“input:checked”).length;

B.
$(“input”, selected).length;

C.
$(“input:selected”).length;

Explanation:
n = $(“input:checked”).length;
http://api.jquery.com/checked-selector/


Leave a Reply