[jQuery] :has > :hasnot

[jQuery] :has > :hasnot


Hi,
i'm looking for a selector which made the inverse of the ':has' selector
like ':hasnot'
I've x div wich have <h3> or not, and i 'will be aible to catch the div
which has not <h3>...
Actually i use 2 line to show the div i want (by default, all the div are
hide):
    $('div').css('display','block');
    $('div:has(h3)').css('display','none');
and i try to reduce this to one line....
can some one help me please ?
thank
ps: sorry for my poor english, i'm french
--
View this message in context: http://www.nabble.com/%3Ahas-%3E-%3Ahasnot-tp18649257s27240p18649257.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.