Massimiliano Marini schrieb:

I need some help, I want to apply a class with 'addClass' at all <li> of
the first <ul class="menu"> and not to the second

ah sorry after reading better ;)

$("#foo > .menu > li:not(.expanded)").addClass("bar");

or so

$("#foo > .menu > li").addClass("bar");

see what better for you, the first exclude expanded LI

--
Viele Grüße, Olaf

-----------------------------------
[EMAIL PROTECTED]
http://olaf-bosch.de/
http://ohorn.info/
http://www.akitafreund.de/
-----------------------------------

Reply via email to