Finding all checkboxes are checked in jQuery

Viewed 19567

I have a collection of checkboxes

 <input id="1" class="paid" type="checkbox" />
 <input id="2" class="paid" type="checkbox" />
 <input id="3" class="paid" type="checkbox" />
 <input id="4" class="paid" type="checkbox" />

I would like to write some jQuery to check if all checkboxes are checked then perform an action but how?

2 Answers
Related