---
I don't think it's a bug, and I'm not surprised this selector doesn't work..
This is first selecting all <a> elements that are descendants of #document.
Then, from that set of matching <a> elements, it's trying to remove all that
have a class of "menu" and a descendant <a>. So, it should select all of the
<a> elements.

If you can rely on the "menu" class being a child of #document, you can do
this:

$('#document > :not(.menu)').find('a').dostuff(); ---

Karl, that was a very good explanation.  I was looking at his code and could
not see what it was that was not working.  good job.

--
Benjamin Sterling
http://www.KenzoMedia.com
http://www.KenzoHosting.com

Reply via email to