I have the following html code:
<div id="test">
<nav>
<ul>
<li>One</li>
<li>Two</li>
</ul>
<ul>
<li>One</li>
<li>Two</li>
</ul>
<ul>
<li>One</li>
<li>Two</li>
</ul>
</nav>
</div>
I want to add an li to the bottom of the first ul.
I’m sure I have seen somewhere something like $("test:nav:ul"),
but I cant find any help about something similar,
could you guys please help me?
Use this:
or if performance matters, use:
or you can also use:
even you can go backwards: