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?
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?
use div:not([class^="xyz_"]) input[type="checkbox"]{ ... }
see working example http://jsfiddle.net/Sz3zY/
*:not(div[class^="xyz_"]) input[type="checkbox"] { ... }