Checking Number of Selected Checkboxes
<p>I saw the <a href="http://docs.jquery.com/Is" rel="nofollow">is</a> function in jQuery, and it returns me, for example, if any of the checkboxes are selected.</p>

<p>I need to do a check for how many checkboxes had been selected by the user, because my app requires something like "select two of these". Is there a quick way to do it?</p>

<p>Also, how can I catch when the user clicks the "submit" and then be able to decide whether to let the form send or not, according to checks?</p>
