Hi Pedro,
It is hard to figure out what you are trying to select without a look on the HTML markup. What does you mean with "half of the elements i get with"? It depends upon the markup!
In nth-child(n)  is n constant or inside a loop?
How about a sample of your markup and information about what are you tryong to select?
MaurĂ­cio

-----Mensagem Original----- De: "PedroSeabra" <pedro.sea...@portugalmail.pt>
Para: "jQuery (English)" <jquery-en@googlegroups.com>
Enviada em: sexta-feira, 27 de fevereiro de 2009 09:10
Assunto: [jQuery] :not selector



when I do this:

$("*:not(.oneClass,(.oneClass :nth-child(n)))")
or
$("*:not(.oneClass,.oneClass :nth-child(n))")

it returns 0 elements, but

$(".oneClass,(.oneClass :nth-child(n))")

returns only about half of the elements i get with

$("*")

am i doing something wrong?

is there any known bug's of the :not selector for this sort of things?

Reply via email to