| Viewed 170 times

Using jquery how to get all selected checkboxes in an array

I have a checkbox with name="v", so how I can do it

1 Answer
Mohammad Qandeel

you can use this snippet 

 var mySelectedArray= new Array(); // initialize array
        mySelectedArray.push($(this).val()); //add the checkbox value into array

Related Questions