:not + :contains selectors
|Reported by:||Owned by:|
I'm trying to use this code:
$('div.b:not(:has(p:contains(not me)))').css('color', 'red'); And it doesn't work, while if I just remove the :not it does work: $('div.b:has(p:contains(not me))').css('color', 'blue');
More details and demo here: http://stackoverflow.com/q/11013609/601179
I saw there's a ticket about two pseudo selectors, but those does work for me in 1.7.2, so it must be something else.