Hi all,
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
Example:
<div id="foo">
<ul class="menu"><!-- first -->
<li>1</li>
<li>2</li>
<li class="expanded">
<ul class="menu"><!-- second -->
<li>3</li>
<li>4</li>
</li>
</ul>
</div>
How can I achieve this? Is possible without using the each() function?
Any help, suggestions, examples are welcome.
--
Massimiliano Marini - http://www.linuxtime.it/massimilianomarini/
"It's easier to invent the future than to predict it." -- Alan Kay