[jQuery] Re: some doubt

2008-10-20 Thread ricardobeat
hmm. That is not on the list of supported selectors, but you can use these: $('.test ~ div > div') or $('.test ~ div').children('div') - ricardo On Oct 20, 12:17 am, "汪杰" <[EMAIL PROTECTED]> wrote: > when you test $(".test ~ div div") , you'll see what i mean

[jQuery] Re: some doubt

2008-10-19 Thread 汪杰
when you test $(".test ~ div div") , you'll see what i mean

[jQuery] Re: some doubt

2008-10-19 Thread ricardobeat
I don't get what's the issue on nº 1, could you try to make it more clear? Are you using jQuery v1.2.6? Regarding the second question, $('#id ~.class') $('#id ~ .class') $('#id ~.class') all return exactly the same results here. $('#id ~ class') returns 0 because ovbiously there are no 'cl