[jQuery] Question about specific $() queries

[jQuery] Question about specific $() queries

If I do
$('ul#id ul) I can get all the nested lists in another list. How can I
specify the depth of the returned results? I want to select all the
ul's in another ul by depth. I figured filter or not would work for me
but If I do two queries
q1 = $("ul#id ul");
q2 = $("ul", q1);
I get two results, q1 = the whole set of nested child ul's q2 the
whole set of nested child ul's in q1. Why cant I do this to get just
the difference between q1 and q2
q3 = q1.not(q2); This doesnt seem to work at all. Does it require a
string? If it does and I try to use the not to perform a second query
of any complexity it seems to not do anything, or removes all of my
results.
What I was hoping was for $("ul#id/li/ul").not("ul#id/li/ul/li/ul");
Or even better some of Johns magic on selecting just ul's that are
children of the current lists li's but no deeper.
Abba Bryant
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/