Eder
03-24-2010, 08:06 PM
Hi all,
I have a problem when selecting objects from a list, example:
XHTML:
<li class="down">Main Text
<ul>
<li><a href="#text-1">text-1</a></li>
<li><a href="#text-2">text-2</a></li>
<li><a href="#text-3">text-3</a></li>
<li><a href="#text-4">text-4</a></li>
</ul>
</li>
I've already tried something like this, but i can't access Main Text
jQuery:
jQuery("li.down").each(function() {
});
What I want to retreive is the object that represents Main Text, so then latter, I could be able to format it's style
Thanks in Advance,
Eder Quiñones
I have a problem when selecting objects from a list, example:
XHTML:
<li class="down">Main Text
<ul>
<li><a href="#text-1">text-1</a></li>
<li><a href="#text-2">text-2</a></li>
<li><a href="#text-3">text-3</a></li>
<li><a href="#text-4">text-4</a></li>
</ul>
</li>
I've already tried something like this, but i can't access Main Text
jQuery:
jQuery("li.down").each(function() {
});
What I want to retreive is the object that represents Main Text, so then latter, I could be able to format it's style
Thanks in Advance,
Eder Quiñones