jQuery CheckBoxes
In a web page with chechboxes you need to write e jquery that retruns the number checked checkboxes
A.
var n = $(“input:checked”).length;
B.
var n = $(“:input, :checked”).length;
C.
var n = $(“input:selected”).length;
D.
var n = $(“:input, :selected”).length;
Explanation:
n = $(“input:checked”).length;
http://api.jquery.com/checked-selector/