js gets all li under the element
var content=document. getElementById("content");
var items=content.getElementsByTagName("ul");
var itemss=items[2].getElementsByTagName("li");
or
var div=document.getElementById('a');
var ul=div.childNodes.item(0);
var lis=ul.childNodes;
for(var i=0;ialert(" Item " i ": " lis.item(i).innerHTML);
}