jquery select input with class 1

jquery select input with class

$("input.myClass:checkbox")

Here is what the above code is Doing:
1. Select all the checkboxes with the class myClass
2. Iterate over each of the checkboxes
3. If the checkbox is checked, add the value of the checkbox to the array
4. Return the array

Similar Posts