finding all checkboxes that are NOT checked

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?


Hiya yep: demo


  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!

Need Your Help

CSCore loopback recording when muted

c# audio-recording cscore

I'm using CSCore.WasapiLoopbackCapture to record system sound. But when there is no sound in system, it doesn't record at all! For instance, while playing music and recording it, the output file's

In Visual Source Safe is there a limit to how many labels you can apply?

visual-sourcesafe visual-sourcesafe-2005

We have a collection of 25 or so projects in a source safe database and we want to apply daily labels to each of them. Is there a limit to the number of labels that can be applied?

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.