Jörn Zaefferer schrieb:
> But you are right, the filter(function) approach that John mentioned 
> simply doesn't work. "this" is the window object inside the function, 
> which is not very useful. I'm gonna check, and if I get it working, 
> document it.
>   
Please try this:

$("li").filter(function(element){
   return $("ol:not([EMAIL PROTECTED])", element).length == 0;
});


-- 
Jörn Zaefferer

http://bassistance.de


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to