I have the following HTML code:
<div id="mycontainer">
<p> title </p>
<ul>
<li><span>**</span><a href="...">KEY</a></li>
</ul>
<ul>
...
</ul>
</div>
How would I get the KEY value? In other words, from this div with id = “mycontainer”, how would I go to get from the first ul, the content of the element?
here, have a fiddle: http://jsfiddle.net/8tvTt/