Reputation: 20346
I want to retrieve ALL input type checkbox that are not inside a div that has a class that starts with 'xyz_'
How do I write a css selector for the above?
Upvotes: 0
Views: 1852
Reputation: 9902
use div:not([class^="xyz_"]) input[type="checkbox"]{ ... }
see working example http://jsfiddle.net/Sz3zY/
Upvotes: 3