You'd use a custom filter:

$("a").filter(function(elem){ return $(elem).parent("li").length == 0; })

On 1/8/07, spinnach <[EMAIL PROTECTED]> wrote:

..how to select all links on a page that are not inside a list (not
children of 'li')?..

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




--
Yehuda Katz
Web Developer | Wycats Designs
(ph)  718.877.1325
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to