finding all checkboxes that are NOT checked

javascript, jquery

Solution

Hiya yep: demo http://jsfiddle.net/usvrb/

http://api.jquery.com/not-selector/

quote

  The .not() method will end up providing you with more readable selections than pushing complex selectors or variables into a :not()

selector filter. In most cases, it is a better choice.

Hope this helps, :) cheers!

Problem

If I wanted to select all checkboxes that are selected, I could do this. ``` $('#mydiv input[type=checkbox]:checked') ``` Is there a similarly simple syntax that lets me select all the checkboxes that are NOT selected?

Original source