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

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/



Leave a Reply 0

Your email address will not be published. Required fields are marked *